Sign in to run requests with your own sandbox key. Sign in

ErrorEnvelope

The envelope returned by every non-2xx response, including `429` and the `/api/*` 404 catch-all.

Type: ErrorEnvelope

ErrorEnvelope has 1 top-level field; error is always present. Fields typed as another schema link to that schema's page, and nested objects expand in place below. It is referenced by 42 operations, listed under Used by. The machine-readable definition is #/components/schemas/ErrorEnvelope in openapi.json; the example in the right-hand rail is synthesized from the field examples in that spec.

Fields

  • error object required
    • code string required Stable machine-readable error code. Branch on this, never on `message`.
    • message string required
    • details array of object Field-level detail when available; otherwise an empty array.
      • field string
      • message string
    • request_id string required
    • doc_url string (uri) Link to the reference page for this error code

Used by

Was this page helpful?