rate_limited
What happened
Each route allows a number of requests in a window of time. Over it, the request is refused with 429, and the header Retry-After says how long to wait.
What to do
Wait for the time in Retry-After, then send the request again, and spread requests out.
Example
json
{
"error": {
"code": "rate_limited",
"message": "Too many requests. Wait a little, then try again.",
"detail": {
"request_id": "3c6f9a52-8e1d-4b7a-9f20-6d41a8c5e7b3"
}
}
}