Skip to main content

Error handling

Canary errors use application/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 includes X-Request-ID, including 204 No Content and authentication failures.
A 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 429 after the number of seconds in Retry-After.
  • Retry transient 500 responses 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, and 415 through configuration or request correction.
See Integration patterns for write safety.