Error codes · Limits

Rate limited

Coderate_limited
Status429
If this was an orderThis request bought nothing
Send it again unchanged?Yes — see What to do
.NET SDKRateLimitedException

What it means

Too many requests in the current window. The limit is either one Anis staff set on your application or wallet — counting all requests, orders only, or reveals only — or Anis’s own protection. Nothing was recorded against the request. During enrolment it also means the proof has failed five times.

What to do

  • Wait for the time in Retry-After when it is present; otherwise back off exponentially.
  • Then send again. An order may keep its operation id: a refusal at the door records nothing against it.
  • During enrolment, after five failed proofs: ask Anis staff to restart the enrolment.

Where you can meet it

Example

The body of the refusal. Its type is the address of this page.

{
  "type": "https://developers.anis.ly/errors/rate-limited",
  "title": "Rate limited",
  "status": 429,
  "code": "rate_limited",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}