Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getList doesn't accept fully conforming handle-format AT-URI's for list param #3201

Open
patcon opened this issue Dec 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@patcon
Copy link

patcon commented Dec 7, 2024

Re-ticketed from: jaseemabid/bluesky-sync#17

Describe the bug

It seems that at-uri scheme is not respected for getList, while it is for getStarterPack. Specifically, both handle.bsky.social and custom domain handles fail, but DIDs work fine. I'm only showing for bsky.social domains, but custom domains should also fail.

To Reproduce

Steps to reproduce the behavior, for an example:

  1. Perform a GET for a starter pack at-uri with a DID. Notice that it works.
  2. Perform a GET for a starter pack at-uri with a handle. Notice that it works
  3. Perform a GET for a list at-uri with a DID. Notice that it works
  4. Perform a GET for a list at-uri with a handle. Notice that it doesn't work

Expected behavior

Would expect step 4 to return a response just like step 3, just like step 1 and 2 return the same response.

Details

  • Operating system: osx, chrome
  • Node version: n/a

Additional context

getList docs: https://docs.bsky.app/docs/api/app-bsky-graph-get-list
AT URI Scheme docs: https://atproto.com/specs/at-uri-scheme
Post about the issue: https://bsky.app/profile/patcon.bsky.social/post/3lcm6cgi4xc2p

Thanks for any consideration someone might give this! 🙏 🙏 🙏

@patcon patcon added the bug Something isn't working label Dec 7, 2024
@patcon patcon changed the title getList doesn't accept fully conforming AT-URI's with handle as list param getList doesn't accept fully conforming handle-format AT-URI's for list param Dec 7, 2024
@lin-stephanie
Copy link

GET /xrpc/app.bsky.feed.getPosts also has a similar issue: DID works, but handle returns an empty response despite a successful request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants