Cloudflare Error 1015: You are being rate limited
What you see
Error 1015error code: 1015Error 1015: You are being rate limitedYou are being rate limited
More error strings (3)
429 / 1015 You are being rate limitedThe owner of this website has banned you temporarily from accessing this website.has banned you temporarily from accessing this website. Please see Error 1015 · Cloudflare Support docs for more details.
What it means
The site sits behind Cloudflare, and its owner set a rate limit (a cap on requests per few seconds or minutes). You went over it, so Cloudflare blocks you for a while, usually with a 429 (too many requests). Stop, wait, then come back slower.
Why it happens
A rate limiting rule counts your requests in a time window. Past the cap, it blocks you for a set time. The owner picks the cap, the window and how long the block lasts.
- Too many requests from one IP. On Cloudflare’s Free and Pro plans, the IP address is the only thing a rule can count by. Fast crawling from one machine hits the cap first.
- You share the IP. VPNs, Cloudflare WARP, cloud servers and office networks put many people behind one address. Their requests fill your counter. One developer reported 1015 from Discord’s API when calling it from a busy Cloudflare data center in São Paulo, though their own traffic stayed under the limit.
- Your retries. Cloudflare warns that trying again and again in a short time may extend the block.
- A strict rule on one path. Owners often guard login pages or APIs hardest. One visitor got 1015 on cardmarket.com after a single login.
- Cached files count too. On Free and Pro, requests for pages and files served from Cloudflare’s cache still add to the count. A browser that loads every image and script adds up fast.
- The rule counts something else. With Advanced Rate Limiting (an Enterprise add-on) a rule can count by header (like an API key), cookie, country, network (ASN) or TLS fingerprint (JA3/JA4). Then a new IP may change nothing.
The block is the site owner’s choice, not Cloudflare’s. Neighbours: 1020 is an owner rule that blocks you outright, 1005, 1006 and 1009 are owner bans on your network, IP or country, with no timer, 429 is the same idea from any server.
How the count works: Cloudflare keeps one counter for each mix of values the rule watches. Cloudflare’s example: a rule that counts by IP plus an x-api-key header. Two requests with the same key from two IPs get two separate counters.
A rule can also count only some replies. On Business plans and up, the owner can bump the counter only when the site answers with, say, a 400 (bad request). Then only your failed requests count. A scraper that hits many broken URLs or failed logins can trip it at a slow pace.
Enterprise sites with Advanced Rate Limiting can go further and count cost, not requests. The site gives each reply a score from 1 to 1,000,000, so a heavy export or search can use up your limit in a few calls.
So requests per minute is not the whole story. What you ask for matters too.
Fix it
- Stop sending. Every retry during the block can make it last longer.
- Wait, then send one test request. If the reply has a
Retry-Afterheader, wait that long. If not, start at 10 seconds and double the wait each time you are still blocked. On a Free-plan site the block lasts 10 seconds. Bigger plans can block for up to a day. - Slow down for good. Fewer requests in parallel, a pause between them. Skip images, fonts and scripts you don’t need.
- Keep your cookies. Some rules tell visitors apart by Cloudflare’s
_cfuvidcookie. Visitors with no cookies all share one counter. A scraper that drops cookies lands in that shared pile. - Get off a shared IP. Turn off the VPN or WARP, or move the job off a busy cloud server.
- Spread the load over more IPs, if the limit counts by IP (always true on Free and Pro sites). If 1015 follows you to a fresh IP, the rule counts something else: your cookie, a header or your fingerprint.
- Ask the site owner for a higher limit or an exception. Send the Ray ID from the error page and the time it happened. Cloudflare doesn’t control these rules, so it can’t lift the block.
Cloudflare’s own 1015 reply sends Retry-After: 30 (30 seconds), unless the owner’s rule sets its own value.
If you own the site: check your rule’s threshold. Cloudflare says a window of one second is too tight and suggests 10 seconds instead.
Why stop at once: by default the block runs for its whole set time, whatever you send during it. Requests in that time buy you nothing, and Cloudflare warns they may make it longer.
Why start at 10 seconds: that is the shortest window and the shortest block Cloudflare offers. Its longest block is one day (86,400 seconds). Doubling from 10 seconds, nine waits add up to more than an hour.
You can’t see the owner’s settings, so test them. Our advice: change one thing at a time.
- Fresh IP, same cookies. Clear now? The limit was per IP.
- Same IP, cookies kept, slower pace. Clear? It was your speed.
- Still blocked on a fresh IP at a slow pace? It follows a cookie, header or fingerprint.
Once through, find your pace: speed up slowly until the first 1015, then run well below that.
Cloudflare’s own advice, printed in its machine-readable 1015 reply, starts higher: wait at least 30 seconds, then double (60, 120 and so on). After 5 retries that still fail, stop and rethink how you send requests. If the header says 30, start there, not at 10.
Paste this into your AI
My scraper gets Cloudflare "Error 1015: You are being rate limited" (usually HTTP 429).
The response body is: <paste it, e.g. "error code: 1015" or the HTML page>.
Explain in plain words what 1015 means, then list the likely causes in order, most likely first.
For each cause, give one way to test it and one fix.
Then write retry code for my setup: stop on 1015, wait, send one test request,
double the wait while still blocked.
My setup: <language + library>, <the URL pattern>, <requests per minute and how many in parallel>,
<where my IP comes from: home, VPN, cloud server, proxy pool>, <do I keep cookies between requests>,
<the response headers I get back with the 1015>.Dev details
The default status is 429. The owner can pick any code from 400 to 499.
Since 12 March 2026, Cloudflare’s 1015 reply carries a Retry-After header: 30 seconds by default. If the owner’s rate limiting rule already set its own Retry-After, that value wins.
Plain text, as API clients and curl often see it:
HTTP/1.1 429 Too Many Requests
error code: 1015
The HTML page, as browsers show it:
Error 1015
You are being rate limited
The owner of this website (<host>) has banned you temporarily from accessing this website.
Ask for JSON (Accept: application/json) or Markdown (Accept: text/markdown) and Cloudflare sends a machine-readable version instead. Cloudflare’s own 1015 example:
{
"type": "https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/error-1015/",
"title": "Error 1015: You are being rate limited",
"status": 429,
"detail": "You are being rate-limited by the website owner's configuration.",
"instance": "9d99a4434fz2d168",
"error_code": 1015,
"error_name": "rate_limited",
"error_category": "rate_limit",
"ray_id": "9d99a4434fz2d168",
"timestamp": "2026-03-09T11:11:55Z",
"zone": "<YOUR_DOMAIN>",
"cloudflare_error": true,
"retryable": true,
"retry_after": 30,
"owner_action_required": false,
"what_you_should_do": "**Wait and retry.** This block is transient. Wait at least 30 seconds, then retry with exponential backoff.\n\nRecommended approach:\n1. Wait 30 seconds before your next request\n2. If rate-limited again, double the wait time (60s, 120s, etc.)\n3. If rate-limiting persists after 5 retries, stop and reassess your request pattern",
"footer": "This error was generated by Cloudflare on behalf of the website owner."
}
Cloudflare’s test command shows the header on any Cloudflare site:
curl -s --compressed -D - -o /dev/null -H "Accept: application/json" -A "TestAgent/1.0" -H "Accept-Encoding: gzip, deflate" "<YOUR_DOMAIN>/cdn-cgi/error/1015" | grep -i retry-after
Spot it in code by the body, not just the status:
const res = await fetch(url, { headers });
const body = await res.text();
if (res.status >= 400 && res.status < 500 && /error code:?\s*1015|Error 1015|being rate limited/i.test(body)) {
// Cloudflare 1015: stop, wait, send one test request, double the wait.
console.log("Ray ID:", res.headers.get("cf-ray"), "Retry-After:", res.headers.get("retry-after"));
}
What each plan allows, per Cloudflare’s docs:
| Plan | Counts by | Window | Block lasts |
|---|---|---|---|
| Free | IP | 10 s | 10 s |
| Pro | IP | up to 1 min | up to 1 h |
| Business | IP, IP with NAT support (cookie) | up to 10 min | up to 1 day |
| Enterprise + Advanced Rate Limiting | adds headers, cookies, path, ASN, country, JA3/JA4, body fields | up to 65,535 s | up to 1 day |
Edge cases:
- No 1015 at all. With a Block action the owner can write a custom reply: JSON, HTML, XML or plain text, up to 30 KB. Then you only see their words and their status code.
- A challenge instead. A rate limit rule can answer with a challenge page rather than a block. You then see Just a moment, not 1015. On Free, Pro and Business, passing it sets your counter back to zero.
- Counters live per data center. Cloudflare keeps no global count. Each data center counts on its own, except ones in the same location, which share.
- A few requests slip through. Counters can lag a few seconds behind. A few requests past the cap may still go through before the block starts.
- Ray ID. Every request through Cloudflare gets one, in the
cf-rayheader. Read it with browser dev tools orcurl -v. The owner can look it up. - “Unable to purge (Code: 1015)” is a different error. It shows in the Cloudflare dashboard when a cache purge fails.
Why check the body: the status alone can lie. The owner can send any code from 400 to 499, and a 429 from the site’s own server looks the same. The words 1015 or “rate limited” tell you it was Cloudflare’s rule.
Which data center you reach depends on Cloudflare’s network and your internet provider’s routing. One WARP user started getting 429 and 1015 errors once their traffic moved to a new data center in Modesto, California. Our reading: proxies that exit in different regions may hit different data centers, each with its own count.
Cloudflare checks rate limit rules in order, and Block stops the rest. A site can have 1 rule on Free, 2 on Pro, 5 on Business and up to 100 on Enterprise.
If the rule sends a challenge instead, on Free, Pro and Business a real browser that passes it starts from zero.
Which format you get depends on your Accept header. application/json or application/problem+json gets JSON, text/markdown or text/* gets Markdown. text/html, */* or no Accept header at all gets the HTML page. This works on every plan, Free included. A site with its own custom error rules (paid plans) can override it.
For code, match the JSON fields, not the words. Cloudflare calls error_name and error_category stable. rate_limited is 1015 itself. rate_limit is the wider group, shared with 1025, 1027 and 1200. cloudflare_error: true confirms Cloudflare made the reply, not the site’s server.
Open questions
Cloudflare’s docs don’t print the full wording of its default HTML 1015 page. The HTML lines above are the ones visitors quoted.
Why it matters: a scraper that spots 1015 by searching the HTML for known words can miss a page whose wording changed. Our advice: send Accept: application/json and check error_code and retry_after. Cloudflare documents those fields. Or combine signals that don’t depend on wording: a 4xx status, a cf-ray header and a Retry-After header.
Questions
Can Cloudflare support lift a 1015 block?
No. Cloudflare says it does not control which visitors are rate limited: the site owner sets these rules. Wait, or contact the site owner.
Why did I get error 1015 after a single request?
The count is not only yours. On a shared IP (VPN, Cloudflare WARP, a cloud server) other people's requests add to the same counter. Strict rules on one path, like a login page, can also trip after very few tries.
Is error 1015 "Unable to purge" the same thing?
No. That 1015 shows in the Cloudflare dashboard when a cache purge fails. Cloudflare's advice: retry the purge, and contact support if it keeps failing.
scrapenews difficulty
Not scored. We have 2 of 8 factors; a score needs 3.
| Factor | What we found | Source |
|---|---|---|
| Smallest client that gets through | a plain HTTP client | developers.cloudflare.com |
| Checks stacked | IP reputation, TLS fingerprint, header and HTTP/2 fingerprint | developers.cloudflare.com |
Our analysis of 2 sourced facts; measured runs replace them as they come. How we rate difficulty
Related
Sources
Cloudflare docs: Error 1015 developers.cloudflare.com
Cloudflare docs: Rate limiting rules (availability per plan) developers.cloudflare.com
Cloudflare docs: Rate limiting parameters developers.cloudflare.com
Cloudflare docs: Request rate calculation developers.cloudflare.com
Cloudflare docs: Error page types (Rate limiting block) developers.cloudflare.com
Cloudflare docs: Cloudflare Ray ID developers.cloudflare.com
RFC 9110 §10.2.3: Retry-After rfc-editor.org
Cloudflare Community: Community Tip, Fixing Error 1015 You are being rate limited community.cloudflare.com
Cloudflare Community: Error 1015, I can't access the website (full 1015 message) community.cloudflare.com
Cloudflare Community: I have got Error 1015 after a single input community.cloudflare.com
Cloudflare Community: 429 / 1015 You are being rate limited (shared WARP IP) community.cloudflare.com
discord-api-docs issue #7040: "error code: 1015" from a Cloudflare Worker github.com
discord-api-docs issue #7137: Error 1015 with HTTP 429 from shared Cloudflare IPs github.com
Cloudflare changelog: Retry-After HTTP header for retryable 1xxx errors (2026-03-12) developers.cloudflare.com
Cloudflare docs: Error responses (JSON and Markdown, Retry-After values) developers.cloudflare.com
Cloudflare blog: RFC 9457-compliant error pages for agents (1015 example) blog.cloudflare.com