429 Too Many Requests: What It Means and How to Fix It | SheCodes

Too many requests · Usually quick to fix

429 Too Many Requests

You’re sending too many requests too fast. The server is telling you to slow down.

What the error looks like

Error: 429 Too Many Requests: rate limit exceeded

Why it happens

APIs have limits on how many requests you can make per minute/hour. You’ve exceeded that limit, possibly from a loop or rapid page refreshes.

How to fix it

  1. Wait a few minutes before trying again
  2. Add delays between API requests if you’re making many at once
  3. Check the API documentation for rate limit details
  4. Cache responses so you don’t make the same request repeatedly

Ask your AI coding tool to fix it

Paste this prompt into Claude Code, Cursor, Bolt or Lovable, with your own error in place of the example.

I'm getting this error and I need help understanding and fixing it:

```
Error: 429 Too Many Requests: rate limit exceeded
```

Please:
1. Explain what this error means in plain English
2. Tell me the most likely cause
3. Give me the exact code changes or commands I need to fix it
4. Show me how to prevent this error in the future

Got a different error?

Paste any error into the free Error Decoder and get it explained in plain English, with a fix prompt.

Decode my error

More common errors explained