Skip to main content
All errors share one shape:
  • code — a stable machine-readable code (see below).
  • message — human-readable explanation.
  • details — optional structured context. For validation failures (bad_request) this contains the specific field issues.
  • requestId — correlation id, also returned in the x-request-id header. Include it when contacting support.

Status codes

Branch on error.code, not the HTTP status or message text — codes are stable, messages may change.