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

Creating a post with a duplicate rkey returns an internal server error rather than proper error handling. #873

Open
oracularhades opened this issue Dec 8, 2024 · 0 comments

Comments

@oracularhades
Copy link

Run this twice at /xrpc/com.atproto.repo.createRecord: {"collection":"app.bsky.feed.post","repo":"did:plc:wtdzzfgzjpirnk5wvpjutqoy","record":{"text":"another test post","langs":["en"],"createdAt":"2024-12-09T00:00:00.000Z","$type":"app.bsky.feed.post"}, "validate": false, "rkey":"theyre-called-skeets"}

You'll get a 500 internal server error instead of something like "rkey already exists". Not a major bug but definitely important to note for automated scripts.

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