I get 429 Too Many Requests
Owner, AdminLast checked 25 November 20261 min readArticle ID:
developers-got-429On this page
You went over a per-minute limit. Wait the Retry-After seconds, then slow down.
What you see
429 with error.code of rate_limited, and a Retry-After header.
Limits are counted per minute, in separate buckets. A call goes through only if every bucket that applies has room.
| What | Limit |
|---|---|
| Calls by one app | 60 a minute |
| Calls by all of a business's apps together | 600 a minute |
| Token requests | 10 a minute per client id and IP address |
Opening more apps doesn't buy more requests, because the business's 600 is shared. For the full table, see Rate limits.
Why it happens
- You went over a per-minute limit, and the bucket hasn't refilled.
- Your code retries in a loop, straight away.
- You request a new access token for every call, which burns the token limit.
- You re-read everything instead of following changes.
- You poll for changes.
How to fix it
- Wait
Retry-Afterseconds, then continue.X-RateLimit-Resetgives the time the bucket refills. - Don't retry in a loop. Use exponential backoff with a little randomness.
- Cache your access token. It lasts an hour. See How long does an access token last?.
- Read less. Follow changes with sync mode and
per_page=100instead of re-reading everything. See Keep your system in sync. - Use webhooks instead of polling. See How webhooks work.
Watch X-RateLimit-Remaining on every response to slow down before you hit zero.