Errors & CAPTCHAs

Cloudflare Error 1010: blocked by your browser's signature

Cloudflare · 1010
Published

What you see

  • Error 1010
  • error code: 1010
  • Error Code: 1010
  • HTTP 403 / error code: 1010
More error strings (4)
  • The owner of this website has banned your access based on your browser's signature
  • has banned your access based on your browser's signature
  • Access denied Error 1010
  • Cloudflare 1010

What it means

The site sits behind Cloudflare, and Cloudflare didn’t like how your request looked. Its Browser Integrity Check (a scan of your request headers for bot and spam signs) refused you with a 403. Often the fix is one header: the User-Agent your script sends.

Why it happens

Cloudflare’s docs list two causes:

  1. The site owner left Browser Integrity Check on. It is on by default. It looks for headers that spammers often abuse. It also challenges requests with no User-Agent or an odd one, the kind bots and crawlers send.
  2. The site runs on Cloudflare Pages or workers.dev. There, the check always runs, and nobody can turn it off. Some default library User-Agents get blocked, and Cloudflare names the default Python urllib one.

Real cases show the pattern:

  • On a Pages site, Python-urllib/3.14 got 403 with error code: 1010. The same URL with python-requests/2.32.3 got a normal 200 (Cloudflare forum, September 2026).
  • On another API, Python-urllib/3.12 got 1010, even with a valid login token. curl/8.7.1 and python-requests/2.32 went through (GitHub issue, November 2026).
  • One developer tested nine User-Agents on one site (November 2026). Only Python-urllib/3.12 and /3.14 got 1010. Go-http-client/2.0, Wget/1.21.4, curl/8.5.0, my-app/1.0 and no User-Agent at all got through.
  • A Java app using Spring’s RestTemplate got 403 with error code: 1010. One answer says setting the User-Agent to Application fixed it.

In a normal browser, look at your own setup. Cloudflare’s help text names a firewall, a proxy, or a browser plugin or extension that can trigger a false alarm.

A different code means a different block. A rule the owner wrote shows 1020. A rate limit shows 1015.

“Browser signature” sounds like a deep scan of your machine. In Cloudflare’s docs it is plainer: the check reads your HTTP headers, and the User-Agent most of all.

The User-Agent is the header where a client says what it is. You send one even if you never set it. Python’s docs say urllib adds it to every request on its own, as Python-urllib/ plus the Python version. So a two-line script announces “I am a Python script” to every site it visits.

Why does python-requests pass where urllib fails? Cloudflare doesn’t say. Our advice: don’t count on any library default being allowed.

On Pages and workers.dev, the check runs in zones Cloudflare manages itself, not in the site owner’s zone. That is why the owner’s own settings change nothing there.

Is the header alone enough to trigger it? In the tests above, yes. The developer sent the same request with curl and changed only the User-Agent. With Python-urllib/3.14 it got 403, with a Chrome string it got 200. The Pages report on Cloudflare’s forum did the same with curl -A. Same client, same handshake, one header different.

Fix it

  1. Check it really is 1010. Look for status 403, Server: cloudflare, a CF-RAY header and the body error code: 1010.
  2. Set your own User-Agent. Never send your library’s default. Cloudflare says a name for your app, like my-app/1.0, is enough on Pages and workers.dev. It doesn’t need to look like a browser.
  3. In a browser, strip the extras. Turn off extensions that touch headers, then your proxy or VPN. Or try another browser.
  4. Own the site? Turn the check off where it hurts. Go to Security Settings and switch off Browser integrity check. Or skip it for some paths only, like /api/*, with a custom rule (Skip action) or a configuration rule.
  5. Own a Pages or workers.dev site? You can’t turn the check off there. Make your clients set a User-Agent. Or serve the Worker on a custom domain or route in your own zone, where your own settings apply.
  6. Not your site and still blocked? Write to the owner. Find the contact in the domain’s Whois record. Cloudflare’s support can’t lift the block for you.

A “descriptive” User-Agent names your app and, ideally, how to reach you. Cloudflare’s example is my-app/1.0 (+https://example.com). Python’s docs show the same idea: urllib-example/0.1 (Contact: . . .).

A browser User-Agent isn’t needed on Pages and workers.dev, Cloudflare says. On other sites, the owner may have extra rules of their own. Those show up as 1020 instead. Change one thing at a time, so you know which change worked.

For owners, two tools do the job:

  • Custom rule, Skip action. Pick “Skip products”, then Browser Integrity Check (API value bic). Skipping a phase won’t do it: Cloudflare says that leaves products like this check running.
  • Configuration rule. It turns the check on or off for requests that match, like a hostname or a URL path.

One API team turned the check off for /api/* and /mcp. After that, Python-urllib/3.12 got the app’s normal 401 instead of 1010.

Paste this into your AI

My client gets Cloudflare "Error 1010" (HTTP 403, body "error code: 1010") from a website.
Cloudflare says this means access was denied based on my browser's signature.
Explain in plain words what Browser Integrity Check looks at, then list the likely causes in order, most likely first.
For each cause, give one way to test it and one fix.
My setup: <language + library and version>, <the URL pattern>, <is the host *.pages.dev, *.workers.dev or a custom domain>,
<the exact User-Agent and other headers I send>, <browser extensions, proxy or VPN in the path>,
<do I own this site on Cloudflare: yes / no>.
Show me the code change for my library that sets its own User-Agent.

Dev details

From a script, the reply is short plain text. These headers come from a real 1010 on a login API:

HTTP/1.1 403 Forbidden
Content-Type: text/plain; charset=UTF-8
Content-Length: 16
Server: cloudflare
CF-RAY: 99fe2f3c1a5e2fd6-IAD

error code: 1010

Python urllib turns it into this exception:

HTTP Error 403: Forbidden

In a browser, you get an HTML page:

Error 1010  Ray ID: <ray id> • <date and time> UTC
Access denied
What happened?
The owner of this website (<domain>) has banned your access based on your browser's signature

Reproduce it with curl by changing only the User-Agent:

curl -i -A 'Python-urllib/3.14' https://<site>/robots.txt      # 403, error code: 1010
curl -i -A 'python-requests/2.32.3' https://<site>/robots.txt  # 200 on the forum report

The fix in Python urllib, from Cloudflare’s docs:

import urllib.request
req = urllib.request.Request(
    "https://example.com/data.json",
    headers={"User-Agent": "my-app/1.0 (+https://example.com)"},
)
urllib.request.urlopen(req)

Spot it in code by checking the status and the body together:

const res = await fetch(url, { headers });
const body = await res.text();
if (res.status === 403 && /error code:?\s*1010/i.test(body)) {
  // Cloudflare 1010: Browser Integrity Check. Change the User-Agent, don't just retry.
  console.log("Ray ID:", res.headers.get("cf-ray"));
}

Edge cases:

  • Hidden from the owner. On *.pages.dev, *.workers.dev and Pages custom domains, these blocks don’t show in the zone’s Security Events or Worker logs. The owner may only see their own skip rule match.
  • Turning it off may not help. One Pages owner turned off Browser Integrity Check and Bot Fight Mode in their zone. Python urllib still got 403/1010, because the Pages check runs in Cloudflare’s own zone.
  • Where it shows up. The same owner saw the first block in Security Events, with source bic.
  • API clients read it wrong. A 403 on a request with a valid token looks like “bad token”. In the GitHub case, the server code had no User-Agent check at all. The block came from Cloudflare before the request reached the app.
  • A temporary 1010. On 17 November 2025, Docker Hub logins from GitHub Actions got 403/1010 instead of the usual 401. Docker staff said it was fixed that day, and the reporter confirmed it worked the next.

A quick tell: Content-Length: 16. That is exactly the 16 characters of error code: 1010. Read the body anyway, since other 1xxx codes look the same.

One developer’s HTTP/2 test saw content-length: 17: the same text plus a newline. So check the body, not only the length.

On workers.dev, Cloudflare says the block happens before the Worker runs. Your code never sees the request, so the Worker logs stay empty. Debug from the client side instead: replay the request with curl -i -A '<user agent>' and swap only the User-Agent.

The 1010 reply still sets Cloudflare cookies (__cf_bm, _cfuvid in the Docker case). So a new cookie doesn’t mean you got in. Check the status and the body.

Old guides point to dashboard paths that have moved. A 2020 forum answer says Firewall > Web Application Firewall > Browser Integrity Check. A 2015 one says Settings > CloudFlare Settings. Today’s docs say the Security Settings page.

Open questions

Cloudflare hasn’t published which User-Agent strings its Browser Integrity Check blocks. Its docs name only Python urllib’s default. Cloudflare’s docs don’t say how Node’s built-in fetch fares against the check. Cloudflare’s docs don’t say if your TLS fingerprint can trigger 1010. They describe the check in terms of headers only.

Why the list matters: without it, you find out the blocked names one 403 at a time. Our advice: set your own User-Agent in every client, whatever the library, and you don’t need the list.

Why TLS matters: a TLS fingerprint (JA3 or JA4) is an ID built from how a client opens a secure connection. Every library has its own. In Cloudflare’s docs, these fingerprints belong to Bot Management, a separate product, and that page doesn’t mention 1010.

One hint points the other way. In an OpenCode bug report, the reporter says the codex-cli/* User-Agent mostly passes but gets 1010 now and then from some network paths, and blames the “UA/TLS fingerprint”. Nobody has shown that.

If only the header counts, a one-line fix is enough. If TLS counts too, a User-Agent that works from curl can still fail from another library. So test with curl -A first. If curl passes and your library still fails with the same User-Agent, look beyond the header.

Questions

Why does python-requests work but Python urllib gets 1010?

Browser Integrity Check judges the User-Agent header. Python urllib's default one (Python-urllib/3.x) gets blocked, while python-requests/2.32 and curl went through in reports on Cloudflare's forum and GitHub. Set your own User-Agent in urllib and the block goes away.

Do I need to fake a browser User-Agent?

Not on Cloudflare Pages or workers.dev. Cloudflare says a descriptive one that names your app, like my-app/1.0, is enough.

Can I turn off Browser Integrity Check on pages.dev or workers.dev?

No. Cloudflare says neither the site owner nor its support can turn it off there. Turning it off in your own zone doesn't reach those hostnames.

Can Cloudflare support unblock me?

No. Cloudflare says its support cannot override a customer's security settings. Contact the site owner, for example through the domain's Whois record.

scrapenews difficulty

Not scored. We have 2 of 8 factors; a score needs 3.

FactorWhat we foundSource
Smallest client that gets througha plain HTTP clientdevelopers.cloudflare.com
Checks stackedheader and HTTP/2 fingerprintdevelopers.cloudflare.com

Our analysis of 2 sourced facts; measured runs replace them as they come. How we rate difficulty

Sources

  1. Cloudflare docs: Error 1010 developers.cloudflare.com
  2. Cloudflare docs: Browser Integrity Check developers.cloudflare.com
  3. Cloudflare docs: Pages known issues (Browser Integrity Check on Pages) developers.cloudflare.com
  4. Cloudflare docs: workers.dev (Browser Integrity Check) developers.cloudflare.com
  5. Cloudflare Community: Pages returns 403/1010 for Python urllib despite Browser Integrity Check community.cloudflare.com
  6. Cloudflare Community: Getting banned from my own site: Error 1010 community.cloudflare.com
  7. open-artifacts issue #2687: Python urllib's default User-Agent gets a bare 403 (edge error 1010) github.com
  8. docker/hub-feedback issue #2502: Cloudflare blocks Login via GitHub Actions, HTTP 403 / error code: 1010 github.com
  9. Python docs: urllib.request (default User-Agent) docs.python.org
  10. Cloudflare docs: Skip options (Skip products, bic) developers.cloudflare.com
  11. Cloudflare docs: Configuration rules settings (Browser Integrity Check) developers.cloudflare.com
  12. Jonas Francisco de Lima Filho: One User-Agent string got a 403. curl, wget and Go went straight through dev.to
  13. Stack Overflow: 403 Forbidden "error code: 1010" on a Spring Boot RestTemplate call stackoverflow.com
  14. opencode issue #41320: Cloudflare 1010 blocks OpenAI Codex CLI from OpenCode Go API github.com
  15. Cloudflare docs: JA3/JA4 fingerprint (Bot Management) developers.cloudflare.com
  16. Meta Stack Exchange: CloudFlare error 1010: banned access based on your browser's signature meta.stackexchange.com