Skip to content
Wardcase Docs

Too many requests

HTTP 429, problem type rate-limited.

The API key, or its organization, sent more requests than the limit allows: 60 writes or 600 reads a minute, counted per key and per organization.

Common causes

  • An agent loop runs commands or writes files faster than the write limit. Each command and each file write is a write.
  • Many agents share one key, or one organization's keys together pass the organization's limit.

What to do

  • Wait for the number of seconds in the Retry-After header, then retry.
  • Combine short commands into one script, and stream a long command's output instead of polling for it.

Retrying

Retry after Retry-After seconds. The SDKs do this for you.

Example response

The body is an RFC 9457 problem document with the content type application/problem+json.

{
"type": "https://docs.wardcase.com/errors/rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "Rate limit exceeded, retry after 12 seconds"
}

All errors