Skip to main content

API errors

Expected API errors return JSON with an error.code and error.message. They also include an X-Request-Id header for support and debug correlation.
Use error.code for application logic. Messages may change.

Error codes

Quota errors may include:
Unexpected server errors may return a simpler server-error body. Treat any 5xx as retryable with backoff unless your application has stronger context.