RateLimitError 429

When does this happen?

You've exceeded the rate limit of 100 requests per minute for your API key.

Example response

{
  "_tag": "RateLimitError",
  "type": "RateLimitError",
  "message": "Rate limit exceeded",
  "retryAfter": 42,
  "docs_url": "https://docs.borderli.dev/errors/RateLimitError"
}

What to do

Wait for the number of seconds specified in retryAfter, then retry. Check the x-ratelimit-remaining response header to monitor your usage proactively.

← Back to Error Handling