Skip to main content
Every failure is application/json with the same shape:
code is stable and safe to branch on. message is for humans and may change without notice. VALIDATION_ERROR messages name each offending field, separated by semicolons.

Codes

Handling errors

  • Treat 4xx responses other than 429 as bugs in the request. Retrying without changing it returns the same error.
  • Retry RATE_LIMIT_EXCEEDED and 503 after the Retry-After header.
  • Do not retry POLL_QUOTA_EXCEEDED: its Retry-After points at the start of next month. Raise the quota or wait for the reset.
  • Retry 500 with backoff. If it persists, contact support with the time of the request.