Cloudflare Error 1020: Access Denied

A Cloudflare firewall/WAF custom rule blocked the request — the visitor’s IP, country, user agent or request pattern matched a block rule.

Exact message you may see This website is using a security service to protect itself
Seen on: Cloudflare

Meaning

The site owner (or a managed ruleset) configured Cloudflare to block matching traffic. Visitors can’t fix it themselves except by changing network/VPN; site owners find the rule in Security → Events using the Ray ID.

Common causes

  • Custom WAF rule blocking a country/IP/ASN
  • User agent or bot rules blocking scripts, curl or monitoring tools
  • Rate-limiting or managed rules triggered by request patterns
  • VPN/proxy IP with poor reputation

⚡ Quick fix

  1. Visitors: try another network/disable VPN, contact the site owner with the Ray ID
  2. Owners: Security → Events → filter by Ray ID to find the rule
  3. Add a skip/allow rule for legitimate traffic (your monitoring, APIs, webhooks)

Detailed fix by platform

Cloudflare

  1. Create a WAF custom rule with action “Skip” for trusted IPs or paths (e.g. /webhooks/*) and place it above blocking rules.

How to diagnose

  1. Ray ID — Which rule matched (Security → Events)?
  2. Traffic — Legitimate client being blocked?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Edge & web server. Errors that are often confused with or caused by this one (click to open):

1005 — Cloudflare Error 1005: Access denied — The owner of this website has banned the autonomous system number (ASN) your IP address is in (Cloudflare)10051006 — Cloudflare Error 1006 / 1007 / 1008: Access denied — Your IP address has been banned (Cloudflare)10061010 — Cloudflare Error 1010: The owner of this website has banned your access based on your browser's signature (Cloudflare)10101011 — Cloudflare Error 1011: Access denied (Hotlinking denied) (Cloudflare)10111012 — Cloudflare Error 1012: Access denied (Cloudflare)10121015 — Cloudflare Error 1015: You are being rate limited (Cloudflare)1015403 — HTTP 403 Forbidden (HTTP)403403 Forbidden wp-admin — WordPress: 403 Forbidden on wp-admin, wp-login.php or admin-ajax.php (WordPress)403 Forbidden wp-admin1020

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.