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 #4095

Closed
boly38 opened this issue May 18, 2024 · 2 comments
Closed

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

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

Comments

@boly38
Copy link

boly38 commented May 18, 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

Screenshots

Details

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

Additional context

(If I'm wrong and the backend is on another repository, please tell me.

@boly38 boly38 added the bug Something isn't working label May 18, 2024
@mary-ext
Copy link
Contributor

it's over here yeah
https://github.com/bluesky-social/atproto

@boly38
Copy link
Author

boly38 commented May 19, 2024

ok reported here, thanks @mary-ext 👍
bluesky-social/atproto#2500

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