Error handling
Canary errors useapplication/problem+json. The body follows Problem Details and adds a machine-readable code, request_id, and optional field errors.
Response fields
Use
status for the broad recovery path and code for a specific branch. Keep detail for logs and people.
Status codes
Common codes
Request IDs
Every public API response includesX-Request-ID, including 204 No Content and authentication failures.
204 response body has no request ID because it has no body; read X-Request-ID from the header. Include this value when contacting support.
Retry policy
- Retry
429after the number of seconds inRetry-After. - Retry transient
500responses with exponential backoff and jitter. - Retry connection failures only when the operation’s write semantics are safe for duplication.
- Handle
400,401,403,404,409,413, and415through configuration or request correction.