Skip to main content
API v1 returns errors as JSON under the error property:
code is the machine-readable value. message is a short description. Some errors also include details and correlation_id.

Status codes

Use the HTTP status and error.code together: Each endpoint reference lists the exact error codes it can return.

Correlation IDs

Every API v1 response includes X-Correlation-ID. Error bodies can also include the same value as error.correlation_id. Record the correlation ID with the status code and error.code when you investigate a failed request. Do not log the Bearer credential or response fields that may contain personal data.

Retry decisions

  • For 429, wait for the number of seconds in Retry-After before retrying.
  • For 503, do not treat the response as a quota reset. A limiter outage uses rate_limiter_unavailable and does not include Retry-After.
  • For 401 or 403, correct the credential, scope, or account access instead of retrying the same request.
  • For 422, correct the request using the endpoint reference.
Read Rate limits for the complete 429 behavior.