Problem code
rate_limited
| Status | 429 Too Many Requests |
| Type | https://api.librarika.dev.raynux.com/problems/rate_limited |
| Title | Rate limited |
| Retry | Yes, after Retry-After seconds. |
| Headers | Retry-After, RateLimit, RateLimit-Policy; the body adds limit and window_seconds |
What it means
A rate limit was exceeded: per credential, per token, per write scope, per library or per IP. Repeated failed client authentication also blocks that client id from the caller's network for 15 minutes.
What to do
Wait Retry-After seconds, then slow down. See Rate limits.
Example
HTTP/1.1 429 Too Many Requests
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
"type": "https://api.librarika.dev.raynux.com/problems/rate_limited",
"title": "Rate limited",
"status": 429,
"code": "rate_limited",
"detail": "Too many requests. Retry after the number of seconds in the Retry-After header.",
"request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}
The type URI https://api.librarika.dev.raynux.com/problems/rate_limited is this page. The detail above is an example of the English text; it is translated into the request's language and may change, so match on code, never on detail.