NowgateDocs

rate_limited

Too many requests in a short time.

On this page

HTTP status: 429 Too Many Requests. Retrying the same request can succeed.

Why it happens

  • Your requests exceeded a rate limit.

What to do

Wait for the number of seconds in the Retry-After header, then retry. Spread out bulk work.

Example

The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.

{
  "type": "https://docs.nowgate.io/errors/rate_limited",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "What exactly was wrong, in a sentence.",
  "instance": "/v1/payments",
  "code": "rate_limited",
  "request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}