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 default sample gives 500 error #146

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

agent.getTimeline default sample gives 500 error #146

boly38 opened this issue May 16, 2024 · 0 comments

Comments

@boly38
Copy link

boly38 commented May 16, 2024

Hi

(For starter user ) I detect the following issue

the sample provided here is really confusing
https://github.com/bluesky-social/bsky-docs/blob/main/docs/tutorials/viewing-feeds.mdx?plain=1#L39

is

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

If I keep the example provided, it generates 500 error (expect 4xx)
⚠️ there is most definitely a bug to create for the backend side, if anyone can create it, or tell me where to create it. This contributes to the resolution of this ticket (having a linked issue created)

and according to the doc, cursor default is empty.
So if I replace "..." by "" ; then I got no issue.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant