Skip to main content
DNS Checker(beta)

Cloudflare Errors Reference

Cloudflare Errors Reference: every Cloudflare error code (520-526, 530, 1xxx series), with causes and fixes.

Identify, understand, and fix Cloudflare error codes. Browse 5xx origin errors and 1xxx Cloudflare-layer errors with step-by-step troubleshooting guides.

5xx Origin Errors

These errors indicate a problem between Cloudflare and your origin web server. Cloudflare could reach its edge network but could not get a valid response from the origin.

1xxx Cloudflare Errors

These are Cloudflare-specific error codes triggered by DNS misconfigurations, firewall rules, rate limits, browser integrity checks, or Worker script failures.

1000critical

DNS Points to Prohibited IP

A DNS record points to an IP address that Cloudflare has blocked for policy or security reasons.

1001critical

DNS Resolution Error

Cloudflare's DNS could not resolve the requested hostname.

1002critical

DNS Points to Prohibited IP (Restricted)

The DNS record resolves to an IP address that Cloudflare restricts for the current plan or configuration.

1003info

Direct IP Access Not Allowed

A visitor tried to access a Cloudflare IP address directly instead of using a domain name.

1006warning

Access Denied: Your IP Has Been Banned

The site owner has blocked the visitor's IP address using Cloudflare's firewall tools.

1007warning

Access Denied: Your IP Has Been Banned

Same as 1006 — the visitor's IP has been blocked by the site owner's Cloudflare firewall.

1008warning

Access Denied: Your IP Has Been Banned

Same as 1006/1007 — the visitor's IP has been blocked by the site owner's Cloudflare firewall.

1010warning

The Owner of This Website Has Banned Your Access Based on Your Browser's Signature

The site owner's Browser Integrity Check blocked the visitor based on their User-Agent or browser signature.

1012warning

Access Denied

Access was denied based on the visitor's activity being flagged as malicious by Cloudflare.

1015warning

You Are Being Rate Limited

The visitor is sending too many requests and has been rate-limited by Cloudflare.

1016critical

Origin DNS Error

Cloudflare cannot resolve the origin server's DNS — typically shown alongside HTTP error 530.

1020warning

Access Denied by Firewall Rule

The request was blocked by a Cloudflare WAF or firewall rule configured by the site owner.

1101critical

Worker Threw an Exception

A Cloudflare Worker script running on this domain threw an unhandled JavaScript exception.

1102warning

Worker Subrequest Limit Reached

A Cloudflare Worker exceeded the maximum number of subrequests (fetch calls) allowed per invocation.

1004critical

Host Not Configured to Serve Web Traffic

Cloudflare confirmed the domain exists but it is not configured to serve web traffic on this host.

1005warning

Access Denied: Autonomous System Number (ASN) Banned

The visitor's ASN (network provider) has been blocked by the site owner or by Cloudflare.

1009warning

Access Denied: Country or Region Banned

The visitor's country or geographic region has been blocked by the site owner using Cloudflare's firewall.

1011info

Access Denied: Hotlinking Denied

The request was blocked because the site owner has enabled hotlink protection and the request came from an unauthorized referrer.

1013critical

HTTP Hostname and TLS SNI Hostname Mismatch

The hostname in the HTTP Host header does not match the hostname sent during the TLS SNI handshake.

1014critical

CNAME Cross-User Banned

A CNAME record points to a domain in a different Cloudflare account that has not authorized the connection.

1018critical

Could Not Find Host

Cloudflare could not find a Cloudflare zone matching the requested hostname.

1019critical

Compute Server Error

A Cloudflare compute resource (Worker or Pages Function) encountered an internal error.

1023critical

Could Not Find Host

Cloudflare could not find the requested hostname — the domain or zone configuration does not exist.

1025warning

Please Check Back Later

Cloudflare is temporarily unable to serve the request — usually due to a Cloudflare-side issue or worker limit.

1033critical

Argo Tunnel Error

Cloudflare could not reach the origin through the configured Cloudflare Tunnel (formerly Argo Tunnel).

1034critical

Edge IP Restricted

The domain points to a Cloudflare edge IP that is not allowed for the current zone or configuration.

1035critical

Invalid Request Rewrite: Invalid URI Path

A Cloudflare Transform Rule or rewrite produced an invalid URI path.

1036critical

Invalid Request Rewrite: Maximum Length Exceeded

A Cloudflare Transform Rule produced a URL that exceeds the maximum allowed length.

1037critical

Invalid Rewrite Rule: Failed to Evaluate Expression

A Cloudflare Transform Rule's expression could not be evaluated at runtime.

1040warning

Invalid Request Rewrite: Header Modification Not Allowed

A Transform Rule attempted to modify a request header that Cloudflare does not allow to be changed.

1041warning

Invalid Request Rewrite: Invalid Header Value

A Transform Rule set a request header to a value that is not valid per HTTP specifications.

1104info

Email Address Already in Use

A variation of the email address is already associated with an existing Cloudflare account.

1106warning

Access Denied: Your IP Has Been Banned

Same as 1006/1007/1008 — the visitor's IP has been blocked by the site owner's Cloudflare firewall.

1200warning

Cache Connection Limit

Too many concurrent connections are queued at the Cloudflare edge waiting for cache or origin responses.

Understanding Cloudflare Error Codes

Cloudflare sits between visitors and origin servers as a reverse proxy. When something goes wrong in this chain, Cloudflare returns its own set of error codes that are distinct from standard HTTP errors. These fall into two families:

5xx Origin Errors (520–530)

The problem is between Cloudflare and your origin server. Cloudflare successfully received the visitor's request at its edge, but the origin server either did not respond, responded incorrectly, or refused the connection. These errors require action on the origin server — checking web server processes, firewall rules, SSL certificates, and server resources.

1xxx Cloudflare Errors (1000–1102)

The problem is at the Cloudflare layer itself. These errors are triggered by Cloudflare's security features (firewall rules, rate limiting, bot detection), DNS misconfigurations, or Cloudflare Workers issues. Resolution typically involves adjusting settings in the Cloudflare dashboard.

Knowing which family an error belongs to immediately tells you where to start troubleshooting — the origin server or the Cloudflare dashboard.

How Cloudflare Processes Requests

Understanding where errors occur requires knowing how a request flows through Cloudflare's infrastructure:

1
Visitor sends request

The browser connects to the nearest Cloudflare edge server (anycast routing). Cloudflare handles SSL termination.

2
Cloudflare edge processing

Security features run: WAF rules, rate limiting, bot detection, Browser Integrity Check. If any rule blocks the request, a 1xxx error is returned here.

3
DNS resolution for origin

Cloudflare looks up the origin IP from its DNS settings. If DNS resolution fails, errors 523/530/1016 occur.

4
TCP connection to origin

Cloudflare opens a TCP connection to the origin IP on port 80 or 443. Failure here causes 521 (refused) or 522 (timeout).

5
TLS handshake (if HTTPS)

If using Full or Full (Strict) SSL mode, Cloudflare negotiates TLS with the origin. Failure causes 525 or 526.

6
HTTP request and response

Cloudflare sends the HTTP request and waits for a response. If the origin responds with garbage or times out, errors 520 or 524 occur.

Each error code maps to a specific stage in this pipeline. When you see an error, identify which stage failed and focus your troubleshooting there. A port scan can quickly confirm whether ports 80/443 are open on the origin, and the DNS Propagation Checker verifies that DNS changes have reached all regions.

When to Contact Cloudflare vs Your Hosting Provider

A common source of frustration is not knowing who to contact when something goes wrong. Here is a general guide:

Contact Your Hosting Provider

  • 520, 521, 522, 524 — The origin server is crashing, down, overloaded, or unreachable. These are server-side issues.
  • 525, 526 — SSL certificate issues on the origin need to be fixed by whoever manages the server.
  • 523 — If the origin IP is correct but unreachable, the hosting provider may have networking issues.

Check Cloudflare Dashboard

  • 1000, 1001, 1016, 530 — DNS records in Cloudflare are misconfigured. Fix them in the DNS settings.
  • 1006–1008, 1010, 1012, 1020 — Firewall, WAF, or bot detection rules are blocking traffic. Review Security settings.
  • 1101, 1102 — Cloudflare Worker code errors. Debug using wrangler tail.

For 5xx errors, always test the origin server directly first (bypassing Cloudflare) to confirm the issue is not on the origin. If the origin responds correctly when accessed directly, the problem may be in the Cloudflare-to-origin connection — check DNS records, firewall rules (Cloudflare IP whitelisting), and SSL configuration.

Troubleshoot Cloudflare Errors with Free Tools

Diagnose origin server, DNS, and SSL issues behind Cloudflare errors with these free diagnostic tools.

Related Error Code References

Cloudflare errors often trace back to HTTP status codes from the origin, SSL/TLS certificate failures, or server-side misconfigurations visible in logs.

Frequently Asked Questions