Skip to main content
All errors share one envelope:

Status codes

Handling errors

  • 400 invalid_request_error — your bug. Inspect param and fix the request. Do not retry without changes.
  • 401 / 403 — credential or subscription issue. Don’t retry; surface to the operator.
  • 404 — usually a stale ID. Don’t retry.
  • 409 — fix the conflict (e.g. choose a different URL) and retry.
  • 429 — back off exponentially and retry.
  • 500 — server-side. Retry with exponential backoff.