Librarika Hubfor developers Test environment
Menu

Problem code

daily_quota_exceeded

Status 429 Too Many Requests
Type https://api.librarika.dev.raynux.com/problems/daily_quota_exceeded
Title Daily quota exceeded
Retry Yes, after Retry-After seconds (the next 00:00 UTC).
Headers Retry-After, RateLimit, RateLimit-Policy; the body adds limit, window_seconds and policy (daily or daily_writes)

What it means

The library's daily quota is used up: its requests, or its writes, per UTC day, counted over all its API keys and clients together. The quota depends on the library's plan and resets at 00:00 UTC.

What to do

Stop until Retry-After has passed; retrying earlier cannot succeed. To pull the catalogue in bulk, use OAI-PMH instead of paging the API. 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/daily_quota_exceeded",
  "title": "Daily quota exceeded",
  "status": 429,
  "code": "daily_quota_exceeded",
  "detail": "A daily quota of the library is used up. It resets at 00:00 UTC; Retry-After is the number of seconds until then.",
  "request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V",
  "limit": 5000,
  "window_seconds": 86400,
  "policy": "daily"
}

The type URI https://api.librarika.dev.raynux.com/problems/daily_quota_exceeded 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.

All problem codes · Errors