What it means
You exceeded the per-key rate window.
What to do
Wait for the number of seconds in the Retry-After header, which the API also returns as retryAfterSeconds, then retry.
Use exponential backoff if no hint is present.
The SDKs retry this code automatically.
Example response
The detail text is illustrative.
In the SDKs
The Python SDK raises RateLimitError and the TypeScript SDK raises RateLimitError.
Both expose code, retryable, the request id and the retry hint.
See Error codes for the full table and attribute names. Last modified on October 29, 2026