Error code

Too many requests

The token or delivery key sent more requests than its plan allows in a short time.

Ø100 · 20 teethfree one way, locked the otherABC
Fig. 03 Ratchet and pawlThe wheel turns freely one way, and the pawl stops it turning back.
Code
RATE_LIMITED
Management API
429
Delivery API
429

What to do

Wait the number of seconds in the Retry-After header, then send it again. Cache what you read, and read released content through the delivery API rather than the management API.

The response

Every refusal is an application/problem+json document. Its detail says what went wrong in that request; its type is this page.

{
  "code": "RATE_LIMITED",
  "type": "https://coho-cms.com/errors/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "What went wrong in this request, in a sentence.",
  "instance": "/v1/projects/…"
}

Every code

The error codes, in a table with a filter.