Error 1015 means Cloudflare has blocked a visitor because a rate limit rule was triggered, so the first fix is not to disable security blindly, but to check which rule fired, what path it protects, and whether real users are being grouped with bots.
TLDR: Error 1015 is usually caused by Cloudflare Rate Limiting, not by the standard WAF alone. Rate Limiting is best for stopping repeated hits to login pages, APIs, search, checkout, and expensive endpoints. For example, a store that limits /checkout to 120 requests per minute per IP may block a shared office network where 35 employees order at once; raising the limit or using a challenge can cut false blocks from 6% to under 1%. Use WAF rules for attack patterns, and use traffic management tools when the issue is load, routing, or spikes rather than abuse.
Contents
What Error 1015 Really Means
Error 1015: You are being rate limited is Cloudflare’s way of saying: “This client made too many matching requests in a defined time window.” The client may be a person, a bot, a scraper, a monitoring tool, or a whole office behind one IP address.
That last part matters. Rate limits often key off the source IP. If many users share one IP, they can trip the same rule. Mobile carriers, schools, coworking spaces, corporate VPNs, and public Wi Fi networks are common causes. Honestly, it feels like the tool is punishing the wrong person when a real buyer gets blocked because someone else on the same network refreshed a page too often.
Error 1015 normally points to a rate limiting configuration. A WAF block may show a different error, such as a 403, a managed challenge, or a custom block page. That distinction helps when you review logs.
Image not found in postmetaCloudflare Rate Limiting vs WAF
Cloudflare Rate Limiting and the Cloudflare WAF both protect applications, but they answer different questions.
- Rate Limiting asks: “How often is this client requesting a resource?”
- WAF asks: “Does this request look malicious?”
- Traffic management asks: “Where should this request go, and can the origin handle it?”
Rate Limiting is useful when the volume itself is the problem. Think login brute force, password reset abuse, API scraping, inventory checking bots, search endpoint spam, or checkout abuse. You define a threshold, a time period, a matching path, and an action. The action may be block, challenge, log, or another configured response depending on the plan and features available.
WAF rules are better when the request carries risky content. SQL injection strings, suspicious headers, path traversal attempts, known attack signatures, and protocol anomalies belong here. If a request to /login contains a malicious payload, the WAF should catch it even if it is the visitor’s first request.
Traffic management is a different category. It is not mainly about punishing clients. It helps absorb surges, route traffic to healthy origins, split load between regions, or hold visitors in a queue. If 20,000 legitimate users join a product launch at 10:00, strict rate limits may create anger. A waiting room or load balancing plan may protect the origin without treating buyers like attackers.
Common Causes of False Error 1015 Blocks
Most bad 1015 incidents come from rules that are too broad. A rule may match all paths instead of one sensitive endpoint. Or it may count static files, API calls, and page views together. That creates noisy results.
- Shared IPs: Many people appear as one client.
- Single page apps: One page view can trigger 20 or more API calls.
- Monitoring tools: Health checks may run every few seconds.
- Search and filters: Users click fast, and requests stack up.
- Retry loops: Broken frontend code may repeat failed calls.
- Overbroad paths: A rule on /* catches too much traffic.
Expect to waste time on small details here. One extra script can add several calls per second. A checkout page that used to make 4 API requests may make 11 after a plugin update. Suddenly a “safe” threshold starts blocking people.
How to Troubleshoot Error 1015
Start with evidence. Do not guess from the error page alone.
- Check Cloudflare Security Events. Filter by the visitor IP, timestamp, host, and path.
- Identify the exact rule. Confirm whether it was a rate limit rule, WAF rule, bot rule, or custom rule.
- Review the threshold. Compare the limit to normal user behavior. A modern web app may generate many background requests.
- Separate sensitive paths. Protect /login, /api/auth, /cart, or /graphql differently instead of using one global rule.
- Use log mode first. If possible, observe matches before blocking.
- Prefer challenge for gray traffic. Blocking should be reserved for clear abuse.
A useful review compares blocked requests against business data. If conversion drops by 9% during a block spike, treat that as urgent. If failed login attempts dropped by 80% with no support tickets, the rule may be working well. Security should reduce harm, not create a new outage.
When to Use Rate Limiting
Use Cloudflare Rate Limiting when repeated access is the risk. Good targets include:
- Login endpoints: Stop brute force attempts and credential stuffing.
- Password reset forms: Reduce email abuse and account probing.
- APIs: Control cost and protect origin capacity.
- Search pages: Slow scrapers and heavy automated queries.
- Checkout steps: Limit payment retries and inventory attacks.
Keep each rule narrow. Match only the relevant host, URI path, method, and sometimes response code. For example, count repeated POST requests to /api/login, not every image and script loaded by the login page.
When to Use the WAF Instead
Use WAF rules when the problem is request quality. A single request can be dangerous. A rate limit might allow the first few malicious attempts, while the WAF can stop them immediately.
The WAF fits these cases:
- SQL injection attempts
- Cross site scripting payloads
- Known exploit patterns
- Suspicious user agents or headers
- Access to restricted admin paths
Custom WAF rules also work well for policy decisions. For example, block access to /wp admin unless the request comes from allowed countries, trusted IPs, or a corporate VPN. That is cleaner than rate limiting an admin page that should not be public in the first place.
Traffic Management Alternatives
If Error 1015 appears during legitimate spikes, consider tools that manage flow rather than block traffic.
- Waiting rooms: Queue visitors before they hit the origin. Best for launches, ticket sales, and registrations.
- Load balancing: Send users to healthy servers and reduce pressure on one origin.
- Caching: Serve static and cacheable content at the edge so the origin handles fewer requests.
- Workers or edge logic: Filter, normalize, or respond to simple requests before they reach the app.
- Bot controls: Treat automation based on behavior signals instead of simple request counts.
For a public sale, a waiting room is often safer than aggressive limits. For a search API being scraped, rate limiting plus bot controls makes more sense. For a global app with regional outages, load balancing is the better answer.
Practical Configuration Advice
Start with conservative actions. Log first, challenge second, block last. Use separate rules for humans, APIs, and admin areas. Review data after each change.
A solid setup may look like this:
- /api/login: Tight rate limit on failed attempts, with challenge or temporary block.
- /api/search: Moderate limit, higher allowance for authenticated users.
- /checkout: Localized protection, no broad global block unless abuse is clear.
- /admin: WAF allowlist or identity based access, not just request limits.
- Static assets: Cache heavily and exclude from rate counts where possible.
Also create a support path. When a real user reports Error 1015, support should collect the time, IP address, Ray ID, URL, and action taken. With that data, engineering can find the matching event quickly.
Final Recommendation
Treat Error 1015 as a signal, not a diagnosis. It tells you a rate threshold was crossed, but not whether the visitor was malicious. Cloudflare Rate Limiting is the right tool for repeated abuse. The WAF is the right tool for hostile request patterns. Traffic management is the right tool when demand is real and the system needs breathing room.
The best approach is layered. Use precise rate limits for expensive actions, WAF rules for attack signatures, caching for scale, and waiting rooms or load balancing for large traffic events. That mix protects users, revenue, and infrastructure without turning every busy customer into collateral damage.