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.
This website is using a security service to protect itself 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
- Visitors: try another network/disable VPN, contact the site owner with the Ray ID
- Owners: Security → Events → filter by Ray ID to find the rule
- Add a skip/allow rule for legitimate traffic (your monitoring, APIs, webhooks)
Detailed fix by platform
Cloudflare
- 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
- Ray ID — Which rule matched (Security → Events)?
- 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:
Similar errors
- 1005 Cloudflare Error 1005: Access denied — The owner of this website has banned the autonomous system number (ASN) your IP address is in
- 1006 Cloudflare Error 1006 / 1007 / 1008: Access denied — Your IP address has been banned
- 1010 Cloudflare Error 1010: The owner of this website has banned your access based on your browser's signature
Most viewed in Cloudflare
Other ways to find it
Where this error sits
Origin: Edge & web server. Errors that are often confused with or caused by this one (click to open):
🧠 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.
Report a correction or suggest an improvement
Last updated 14 Oct 2026