We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Testing on getLatestCommit at least - when called with a DID of a repo that doesn't exist (was deleted?), it returns:
getLatestCommit
https://atproto.brid.gy/xrpc/com.atproto.sync.getLatestCommit?did=did:plc:qwerty
{ "error": "InvalidRequest", "message": "Repo None not found" }
On Bluesky servers, it returns:
https://amanita.us-east.host.bsky.network/xrpc/com.atproto.sync.getLatestCommit?did=did:plc:qwerty
{ "error": "RepoNotFound", "message": "Could not find root for DID: did:plc:qwerty" }
The error type seems to be specified in the lexicon:
https://github.com/bluesky-social/atproto/blob/main/lexicons/com/atproto/sync/getLatestCommit.json#L30
"errors": [{ "name": "RepoNotFound" }]
The text was updated successfully, but these errors were encountered:
Good point, thanks!
Sorry, something went wrong.
add new base.XrpcError exception, handle in flask_server
a1a8679
convert to JSON error response with `error` and `message` fields: https://atproto.com/specs/xrpc#error-responses for snarfed/bridgy-fed#1083
XRPC methods: return RepoNotFound and RepoDeactivated errors when app…
e790d03
…ropriate for snarfed/bridgy-fed#1083
Done!
No branches or pull requests
Testing on
getLatestCommit
at least - when called with a DID of a repo that doesn't exist (was deleted?), it returns:https://atproto.brid.gy/xrpc/com.atproto.sync.getLatestCommit?did=did:plc:qwerty
On Bluesky servers, it returns:
https://amanita.us-east.host.bsky.network/xrpc/com.atproto.sync.getLatestCommit?did=did:plc:qwerty
The error type seems to be specified in the lexicon:
https://github.com/bluesky-social/atproto/blob/main/lexicons/com/atproto/sync/getLatestCommit.json#L30
The text was updated successfully, but these errors were encountered: