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

agent.getTimeline with cursor "..." produces 500 error #2500

Open
boly38 opened this issue May 19, 2024 · 0 comments
Open

agent.getTimeline with cursor "..." produces 500 error #2500

boly38 opened this issue May 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@boly38
Copy link

boly38 commented May 19, 2024

Describe the bug

Trying to follow the doc, I encounter a (minor) bug from api getTimeline : a backend 500 error
This issue is described here for the doc side : bluesky-social/bsky-docs#146
As this is a 500, I think the backend is not doing enough input validation on cursor query param

To Reproduce

Steps to reproduce the behavior:

(using api, node agent example)

const { data } = await agent.getTimeline({
  cursor: "...",
  limit: 30,
});

Expected behavior

I expect a 4xx result

Details

  • node client "@atproto/api": "^0.12.10",
  • use https://bsky.social as agent service (backend spcification)

Additional context

(issue first created by error on bluesky-social/social-app#4095)

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

1 participant