# 429 Too Many Requests on Cloudflare

> A Cloudflare 429 or error 1015 comes from a rate limiting rule. Find the rule in Security Events, tune period, duration and counting, and protect verified bots.

Canonical: https://scaplet.com/errors/http/429/cloudflare

Guide Error · HTTP status codes

A Cloudflare 429 or error 1015 comes from a rate limiting rule. Find the rule in Security Events, tune period, duration and counting, and protect verified bots.

5 min

read

10

sources

Oct 29, 2026

updated

Scaplet Editorial Team

author

429 4xx · Client error

The short answer

On a site behind Cloudflare, a 429 Too Many Requests usually comes from a rate limiting rule, and visitors blocked by one see error 1015, "You are being rate limited". The default block response code is 429. Find the rule in Security Events, then change its request count, period, duration or counting characteristics. A 429 with no matching event came from your origin or another layer.

1. [Who sent the 429: your rule, the Cloudflare API, or your origin](#who-sent-the-429-your-rule-the-cloudflare-api-or-your-origin)
2. [Tune the rate limiting rule](#tune-the-rate-limiting-rule)
3. [Keep search crawlers out of the blast radius](#keep-search-crawlers-out-of-the-blast-radius)

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F429%2Fcloudflare%20(%22429%20Too%20Many%20Requests%20on%20Cloudflare%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F429%2Fcloudflare%20(%22429%20Too%20Many%20Requests%20on%20Cloudflare%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F429%2Fcloudflare%20(%22429%20Too%20Many%20Requests%20on%20Cloudflare%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F429%2Fcloudflare%20(%22429%20Too%20Many%20Requests%20on%20Cloudflare%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_How it works

## Who sent the 429: your rule, the Cloudflare API, or your origin

Cloudflare's docs describe 429 as the client sending too many requests in a specified amount of time, as determined by the server's rate-limiting rules, and add that Cloudflare "will generate a 429 response when a request is being [rate limited](/glossary/rate-limiting)". Three sources produce it, and each is fixed in a different place. The generic meaning is on [429 Too Many Requests](/errors/http/429).

1. 1

### Reproduce and capture the headers

Run `curl -sSI https://example.com/path` for the failing request and note whether `Retry-After` is present. The Cloudflare docs say a server may include it to say when the client can try again.
2. 2

### Open Security Events

In the Cloudflare dashboard, open the zone's security events and look at the Events by service section, which lists activity per feature, including Rate limiting rules. Open the matching event to see which rule fired.
3. 3

### No event? Test the origin directly

If nothing matches, the 429 was not generated by a Cloudflare rule. Request the origin by its own address and check the app's limiter.

Three sources of a 429 on Cloudflare
| Source | Tell-tale | Where to fix it |
| A rate limiting rule on your zone | Visitors see error 1015 "You are being rate limited"; the event appears under Security Events as Rate limiting rules | Edit the rule: threshold, period, duration, characteristics |
| The Cloudflare API limit | Calls to `api.cloudflare.com` fail. The docs give a global limit of 1,200 requests per five minute period per user, and say all API calls for the next five minutes are blocked once you exceed it | Batch calls and back off; Enterprise customers can ask Support to raise it |
| Your origin or app | No matching event in Security Events; the response body and headers come from your app | Fix the app's own limiter. See [429 in nginx](/errors/http/429/nginx) |

_02_Rule settings that cause surprise blocks

## Tune the rate limiting rule

Setting

### Period and requests

What the docs say

Requests per period over a window in seconds. A very short period catches bursts. For 1015, Cloudflare suggests that if a rule blocks within a short period such as one second, "try increasing the time period to 10 seconds"

Common fix

Use a longer period with a proportionate count

Setting

### Duration (mitigation timeout)

What the docs say

Once the rate is reached, further requests are blocked for this duration, regardless of the request rate in that time (unless throttling is available on your plan)

Common fix

Lower it, for example from 1 hour to 1 minute

Setting

### Characteristics

What the docs say

Counters are kept per unique combination of characteristics. IP-only counting groups everyone behind one NAT address

Common fix

On plans that allow it, add a header or cookie, or use IP with NAT support

Setting

### Cached assets

What the docs say

By default cached requests count too; the option "Also apply rate limiting to cached assets" can be disabled on plans that offer it

Common fix

Count only requests that reach the origin

Setting

### Counters per data center

What the docs say

Counters are not shared across data centers, apart from those in the same geographical location

Common fix

Do not expect an exact global count

Create a rule through the Rulesets API (from Cloudflare's example)

```
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/rulesets/$RULESET_ID/rules" \ --request POST \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ --json '{ "description": "My rate limiting rule", "expression": "(http.request.uri.path matches \"^/api/\")", "action": "block", "ratelimit": { "characteristics": ["cf.colo.id", "ip.src", "http.request.headers[\"x-api-key\"]"], "period": 60, "requests_per_period": 100, "mitigation_timeout": 600 } }'
```

Rules are deployed to the `http_ratelimit` phase entry point ruleset and must appear at the end of the rules list. When the action is Block you can set a custom response; the code must be between 400 and 499 and the default is 429, with a body limit of 30 KB (custom responses need a Pro plan or above).

**Plan limits are real**Cloudflare's availability table lists, on the Free plan, 1 rule, IP counting only and a 10 second period and mitigation timeout. Pro allows 2 rules and periods up to 1 minute. If you cannot make a rule precise enough, a plan limit may be the reason.

_03_Your call

## Keep search crawlers out of the blast radius

Cloudflare warns that applying rate limiting rules to verified bots might affect SEO, and its SEO troubleshooting list says to check that rate limiting rules are allowing Verified Bots. Google's docs say 429 is treated as a server error, which prompts its crawlers to slow down, and that URLs already indexed are kept in the index but eventually dropped if the errors persist. Exclude the Verified Bot field in the rule's expression, or scope the rule to paths bots do not need, such as login or API routes.

If this fits

### Raise the limit or period when

- Real users hit 1015 during normal browsing, for example with a one second window
- Many users share one IP address
- The rule counts static assets that Cloudflare serves from cache

Or

### Keep it tight when

- The path is a login, OTP or checkout route that attackers target
- The origin cannot absorb bursts
- You can use a challenge action rather than a hard block

After a change, repeat your `curl` test over a few minutes and check the Security Events list for new rate limiting entries. Cloudflare notes that counters can lag by a few seconds, so some excess requests may still reach the origin. For the crawl effect of 4xx and 429 codes, see [4xx errors](/seo-issues/4xx-errors).

Sources · 10

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- cloudflare.com
- google.com

1. 01 [Cloudflare Support: Error 429](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-429/) developers.cloudflare.com · checked 2026-11-01
2. 02 [Cloudflare Support: Error 1015](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/error-1015/) developers.cloudflare.com · checked 2026-11-01
3. 03 [Cloudflare WAF: Rate limiting rules](https://developers.cloudflare.com/waf/rate-limiting-rules/) developers.cloudflare.com · checked 2026-11-01
4. 04 [Cloudflare WAF: Rate limiting parameters](https://developers.cloudflare.com/waf/rate-limiting-rules/parameters/) developers.cloudflare.com · checked 2026-11-01
5. 05 [Cloudflare WAF: Request rate calculation](https://developers.cloudflare.com/waf/rate-limiting-rules/request-rate/) developers.cloudflare.com · checked 2026-11-01
6. 06 [Cloudflare WAF: Create a rate limiting rule via API](https://developers.cloudflare.com/waf/rate-limiting-rules/create-api/) developers.cloudflare.com · checked 2026-11-01
7. 07 [Cloudflare WAF: Create a rate limiting rule in the dashboard](https://developers.cloudflare.com/waf/rate-limiting-rules/create-zone-dashboard/) developers.cloudflare.com · checked 2026-11-01
8. 08 [Cloudflare WAF: Security Events](https://developers.cloudflare.com/waf/analytics/security-events/) developers.cloudflare.com · checked 2026-11-01
9. 09 [Cloudflare: Improve SEO](https://developers.cloudflare.com/fundamentals/performance/improve-seo/) developers.cloudflare.com · checked 2026-11-01
10. 10 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-11-01

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What is Cloudflare error 1015?

Error 1015 reads "You are being rate limited". Cloudflare says the site owner has configured rate limiting rules restricting how many requests a visitor can make in a given time period, and that exceeding the limit returns 1015.

_02_ I am a visitor. How do I get unblocked?

Wait and try again later, and do not retry repeatedly in a short time, because Cloudflare says that may extend the block. If you stay blocked, contact the site owner, since Cloudflare does not control which visitors are rate limited.

_03_ Can I change the status code of a rate limit block?

Yes, on plans that support custom responses. With the Block action you can choose a code between 400 and 499; the default is 429.

_04_ Why are my Cloudflare API calls returning 429?

The global API limit is 1,200 requests per five minutes per user across the dashboard, API keys and [tokens](/glossary/tokenization). After you exceed it, calls are blocked for the next five minutes. Some endpoints, such as cache purge, have separate limits.

## Keep learning

[All errors](/errors)

[Learn 403 Forbidden on Cloudflare HTTP status codes](/errors/http/403/cloudflare) [Related 4xx errors Status codes and links](/seo-issues/4xx-errors) [Read next 429 Too Many Requests HTTP status codes](/errors/http/429) [Do Run a free site audit Free, about two minutes](/site-audit)

Other 429 errors
[429 Too Many Requests](/errors/http/429) [429 Too Many Requests in nginx](/errors/http/429/nginx) [Vercel 429: Too Many Requests](/errors/cdn/vercel-429)

Nearby in errors
[428 Precondition Required](/errors/http/428) [HTTP 431 Request Header Fields Too Large](/errors/http/431)

More in 429 Too Many Requests
[429 Too Many Requests in nginx](/errors/http/429/nginx) [429 Too Many Requests on Cloudflare](/errors/http/429/cloudflare)

Terms on this page
[Rate limiting](/glossary/rate-limiting) [Tokenization](/glossary/tokenization)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
