too_many_requests
One of the error codes on Errors & Rate Limits.
The API returns too_many_requests with HTTP status 429.
Rate limit exceeded, see below.
Reference
#What the response looks like
{
"error": {
"code": "too_many_requests",
"message": "...",
"details": null
}
}error.code is stable and safe to branch on. error.message is debugging context, not something to parse. The full list of codes, and the rate limits, are on Errors & Rate Limits.
Was this page helpful?