Skip to content

Cloudflare Error 1020: What Access Denied Means in 2026 and Who Can Fix It

Error 1020 means a security feature the site owner set blocked the request. What causes it in 2026, what to send the owner and how owners find the rule.

HProxy TeamAugust 26, 2026Updated October 22, 20266 min read

Cloudflare Error 1020: Access Denied, Why It Happens and How to Fix It

Cloudflare error 1020 reads "Access denied". It means a security feature that the website owner set up blocked your request, and Cloudflare answered with HTTP 403. Cloudflare's own page on the error, updated October 14, 2026, gives two examples: API Shield schema validation and JWT validation. Blocks by WAF custom rules and WAF managed rules no longer show a 1020 at all. Either way, the rule belongs to the site, so only its owner can lift it. We sell residential proxies, and for this error we do not recommend them.

What does error 1020 mean today?

Cloudflare's definition is short. A security rule with a Block action matched the request, and the owner gave that rule no custom response. Cloudflare then serves its standard 1020 page with status 403.

Many guides still blame "firewall rules". That feature is gone. Cloudflare deprecated Firewall Rules, ended support for their API on June 15, 2025, and upgraded existing rules to WAF custom rules. A request that a WAF custom rule blocks gets a different answer: the WAF block page.

Today a 1020 comes from features such as API Shield, which guards APIs. Schema validation compares a request with the API's published schema. JWT validation checks the token the request carries. Cloudflare's page names both as features that can block with a 1020.

Which Cloudflare block did you get?

Several Cloudflare pages look alike. The words and the number on the page tell them apart.

What the page showsWhat blocked the requestStatus
Access denied, error 1020A security feature such as API Shield403
Sorry, you have been blockedA WAF custom or managed rule403
Error 1005A ban on your network (ASN)403
Error 1006, 1007 or 1008A ban on your IP address403
Error 1009A ban on your country or region403
Error 1010Your browser's signature403
Error 1015A rate limit429

The block page has its own guide, Sorry, you have been blocked. For every kind of Cloudflare 403, challenges included, see Cloudflare 403 Forbidden. Codes 1006, 1015 and 1020 are compared in Cloudflare errors 1006, 1015 and 1020.

Where do you find the Ray ID?

Every request that passes through Cloudflare gets a Ray ID. It travels in the cf-ray response header, and Cloudflare prints it on its error pages. The site owner needs it to find your request.

Our own capture, October 22, 2026, 18:10 UTC. The data center code in each Ray ID was removed.

Two requests to our own site, two seconds apart, got two different IDs. Cloudflare warns that Ray IDs are not guaranteed to be unique, so send the time along with the ID.

What can you do if a site shows you error 1020?

  1. Take a screenshot. Keep the Ray ID and the time in it. This is the step Cloudflare's page gives visitors.
  2. Send it to the site owner. Use the site's contact or support page, and say what you were doing when the page appeared.
  3. Do not wait for Cloudflare to lift it. Its pages for related codes say its support cannot override a customer's security settings.
  4. Check what changed on your side. A VPN, a work network or a browser extension changes what the site sees. The 403 guide lists browser fixes in order.
  5. Look at your address if you suspect it. Our proxy checker shows the network a site sees, and FFraud shows how fraud tools score it. Why is my IP blocked covers the other reasons an address gets refused.

Why does an app or script get error 1020?

API clients meet this error more often now, because API Shield sits in front of APIs. Two of its checks can refuse a request:

  • Schema validation. Cloudflare compares each request with the API's OpenAPI schema: the endpoint, the HTTP method and the format of path and query values. A request outside the schema can be blocked.
  • JWT validation. Cloudflare verifies the JSON Web Token before the request reaches the API. It flags tokens that are expired, tampered with or not yet valid.

Check the token first, and renew it if it has expired. Then compare the request with the API's documentation. If both look right, send the owner the Ray ID, because the event in Security Events names the rule. Neither check reads your address, so a new one would not help.

What should a site owner check?

  1. Find the event. Ask the visitor for the screenshot, then search Security Events, under Security, Analytics, Events, for the Ray ID or the client IP. Convert the UTC time on the page to your own time zone.
  2. Read which feature acted. The event names the security feature and the rule that blocked the request.
  3. Fix the rule or the schema. Update the setting that blocked the request. Cloudflare lets JWT validation rules log instead of block while you migrate.
  4. Let known clients through on purpose. A custom rule with the Skip action can exempt a partner or your own tool from chosen security features.
  5. Replace the default page. A custom error rule can serve your own 1020 page, with your contact details on it.

On the Free plan, Security Events shows sampled logs only, so a single request may be missing from the list.

Does a proxy fix error 1020?

We sell residential proxies, and our answer is no. A 1020 is the owner's decision, and the checks Cloudflare names read the request and its token. If you need automated access to a site or an API, ask its owner, or use the API the site offers.

If an owner agrees to allowlist you, give them a fixed address. Our ISP proxies are static: the exit IP is the one you bought, and it never rotates. How sites judge addresses in general is covered in how websites detect proxies and what a clean IP is.

On October 22, 2026, we read six guides that rank for "cloudflare error 1020", all from proxy or scraping companies. All six name firewall or WAF rules as the cause. None mentions API Shield, JWT validation or the end of Firewall Rules.

What six ranking guides to Cloudflare error 1020 say, October 22, 2026
Name firewall or WAF rules as the cause
6
Mention the Ray ID
5
Name API Shield or JWT validation
0
Say Firewall Rules were retired
0
Every guide we read blames rules that no longer return a 1020, and none names API Shield.
Source: Six guides ranking for 'cloudflare error 1020', read in full on October 22, 2026 · hproxy.comProxy.

What this page could not check

  • No 1020 of our own. We did not trigger a 1020 on any site. Our test of 140 Cloudflare sites is in the 403 guide.
  • Every feature. Cloudflare names two features that can return a 1020 and does not list all of them.
  • Changing docs. Cloudflare rewrote its 1020 page on October 14, 2026. Check it again after January 22, 2027.

Sources

  • Cloudflare, "Error 1020", last updated October 14, 2026, read October 22, 2026.
  • Cloudflare, "Firewall Rules upgrade", last updated April 16, 2026: the deprecation and the different block page.
  • Cloudflare, "Schema validation" (October 5, 2026) and "JSON Web Tokens validation" (October 6, 2026).
  • Cloudflare, "Security Events" (October 2, 2026) and "Cloudflare Ray ID" (October 15, 2026).
  • Cloudflare, "Cloudflare 1XXX errors" and its pages for errors 1005, 1006, 1009, 1010 and 1015, read October 22, 2026.
  • Cloudflare, "Custom rules", last updated October 16, 2026: the Block and Skip actions.
  • Six guides from proxy and scraping companies that rank for "cloudflare error 1020", read in full on October 22, 2026.
  • Our own capture of two requests to hproxy.com, October 22, 2026, 18:10 UTC.

Frequently asked questions

What does Cloudflare error 1020 mean?

A security feature that the website owner set up blocked your request, and Cloudflare answered with HTTP 403. Cloudflare's page on the error, updated October 14, 2026, names API Shield schema validation and JWT validation as examples. Only the site owner can change the rule.

Is error 1020 the same as 'Sorry, you have been blocked'?

No. WAF custom rules and WAF managed rules answer with the WAF block page, 'Sorry, you have been blocked', which shows a Ray ID and no error number. A 1020 comes from another security feature with a Block action and no custom page.

Why does my app or script get error 1020 from an API?

The API's owner may check requests with Cloudflare API Shield. Schema validation compares each request with the API's schema: the endpoint, the method and the format of path and query values. JWT validation rejects tokens that are expired, tampered with or not yet valid. Check your token and your request against the API's documentation, then send the owner the Ray ID.

Can Cloudflare support remove a 1020 error?

No. The rule belongs to the website owner. Cloudflare's advice is to send the owner a screenshot of the error, and its pages for related codes say its support cannot override a customer's security settings.

What should I send the website owner?

A screenshot of the error with the Ray ID and the time on it, and a line on what you were doing. The owner searches Security Events for that Ray ID or your IP address and sees which feature and rule blocked you.

What is the difference between error 1015 and 1020?

Error 1015 is a rate limit, sent with HTTP 429, and it is temporary: wait before you try again, because quick retries can extend it. Error 1020 is a block by a security feature, sent with HTTP 403, and it stays until the request changes or the owner changes the rule.

Will a proxy or VPN fix error 1020?

It should not be your fix. A 1020 is the site owner's decision, and the API Shield checks Cloudflare names read the request and its token, which a new address does not change. If you need automated access, ask the owner for it.

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed