Skip to main content
A call that fails answers an HTTP status of 400 or more and a body of type application/problem+json, the standard shape of RFC 9457:

Decide by the code

Each operation’s page in the API reference lists the codes it may answer, such as Start an export’s. Read code, and params when the code has them:

A request with wrong fields

422 core.validation_failed lists in errors each part of the request it refused:
  • location is the part of the request: body, querystring, params (the path) or headers.
  • pointer is a JSON Pointer to the field, # for the whole part.
  • code says what is wrong with it, and params its limits, such as minimum or maximum. The value you sent never comes back.

The common codes

These codes come from what every call goes through, or from a kind of call many operations share; each operation’s page lists the ones it may answer:
A 4xx other than 429 answers the same until you change the request or the key: do not retry it unchanged. A 429 or a 503 says how long to wait in Retry-After: wait that long, never in a tight loop. To retry a write without doing it twice, send an Idempotency-Key.