Skip to content
HTTP status codes3 min read

429 Too Many Requests: too many requests too fast

429 Too Many Requests

Short answer

A 429 Too Many Requests error means something, the site's server, a firewall or an API, allows only a set number of requests in a time window and you went over it. Visitors should wait and retry later; site owners should find the source of the excess requests, limit it, and add backoff to their code.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What causes a 429 error
  2. Fixing it as a visitor
  3. Fixing it as the site owner
  4. Prevention
  5. On ArabyHost

Rate limiting is a common protection: a system allows a certain number of requests per IP, user or API key in a time window, then answers 429 Too Many Requests. It may add a Retry-After header saying when to try again. So the error isn’t a malfunction; it’s a deliberate decision to protect the service from load or abuse.

What causes a 429 error

  • Aggressive bots and crawlers: SEO tools, AI crawlers and scrapers requesting many pages quickly.
  • Brute-force login attacks on wp-login.php and xmlrpc.php, which the firewall or a security plugin then throttles.
  • External API limits: your app calls a service like Telegram or an AI provider faster than it allows.
  • Front-end code repeating requests: for example a React useEffect without a dependency array, firing a request on every render.
  • A shared IP address used by many people (office, mobile carrier, VPN).
  • Rate-limiting rules in Cloudflare or a security plugin set too strictly.

Fixing it as a visitor

  1. Stop reloading and wait a few minutes.
  2. Turn off your VPN or try another network.
  3. Disable extensions that auto-refresh pages.

Fixing it as the site owner

  1. Find out who is limiting: a Cloudflare-branded page means a rule there, a security plugin message means its settings, and if your app is receiving 429 from an external service, the limit is theirs.
  2. Find the source of the load: in cPanel open Metrics → Raw Access and download the log, or Metrics → Visitors, and look for IPs or URLs that repeat heavily.
  3. Block abusers: add bad IPs under Security → IP Blocker. If you don’t use xmlrpc.php, block it in .htaccess:
<Files xmlrpc.php>
Require all denied
</Files>
  1. Steer crawlers: use robots.txt to keep them out of unimportant paths. Note that Google ignores Crawl-delay.
  2. Turn on caching so repeated pages are served without running PHP every time.
  3. In your code: honour Retry-After and back off exponentially:
import time, requests

for attempt in range(5):
    r = requests.get(url, timeout=10)
    if r.status_code != 429:
        break
    wait = r.headers.get("Retry-After", "")
    time.sleep(int(wait) if wait.isdigit() else 2 ** attempt)
  1. If real visitors are being blocked by a server rule, contact support to review the block.

Prevention

  • Cache external API results instead of fetching them on every visit.
  • Push bulk work into a queue processed gradually by cron.
  • Use a CDN to serve images and static files away from your origin, so fewer requests reach it.
  • If you offer an API to customers, set a clear rate per key and return 429 with Retry-After so developers know when to retry.
  • Follow the WordPress security guide to cut down login attacks in the first place.

On ArabyHost

Imunify360 protects the servers from malicious traffic and brute-force attacks, and support can review an Imunify360 or ModSecurity block that catches real visitors. Each account has its own CloudLinux LVE resource limits, so trimming unnecessary requests keeps your site responsive. Turn on LiteSpeed Cache for WordPress sites, and ask the Araby AI assistant to read your logs and show you where the requests come from.

FAQ

How long should I wait after a 429?

If the server sends a Retry-After header, it gives the wait in seconds or as a date. If not, wait a few minutes and don't keep reloading, because every attempt counts as a new request.

Why do I get a 429 when I haven't sent many requests?

You may share one IP address with many other people, such as an office network, a mobile carrier or a VPN, so their requests count against you. Try another network or wait a while.

My app gets 429 from an external API. What do I do?

That's the external service's limit, not your hosting's. Read its documented limits, honour Retry-After, cache results, and retry with exponential backoff.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.