code you can branch on, plus a human-readable message. Key-callable routes use the codes below; other routes on the service follow the same convention.
Code table
Envelope
Error responses keep the same outer shape as success, with the code in place of data:Illustrative
code — message can change; code is the contract.
Troubleshooting
FAQ
Why does a real asset id 404?
Why does a real asset id 404?
Two reasons: the asset isn’t in the registry (or isn’t public), or the route is behind a feature flag.
not_found doesn’t distinguish them.Is the error shape the same for unauthenticated calls?
Is the error shape the same for unauthenticated calls?
Yes —
403 signature_missing uses the same {code, message} body.Related
- Authentication — the auth codes in context
- Rate limits — the
429path