Skip to main content
Every external API failure uses the same JSON shape.
Use error for programmatic handling. Use message when logging or displaying context to an operator.

HTTP statuses

Rate limits

When you receive 429, read the Retry-After response header before retrying.
Use exponential backoff for transient 429 and 500 responses. Do not retry validation failures or missing-scope errors without changing the request or key.