---
title: "Cloudflare Error 1010: blocked by your browser's signature"
description: "Cloudflare error 1010 means its Browser Integrity Check blocked your request, often over the User-Agent your script sends. Why, and how to fix it."
url: "https://scrapenews.com/errors/cloudflare-1010"
updated: "2026-11-25T00:00:00Z"
---

# Cloudflare Error 1010: blocked by your browser's signature

Cloudflare · 1010

Published 25 Nov 2026

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](https://dev.to/jonasfilhodev/one-user-agent-string-got-a-403-curl-wget-and-go-went-straight-through-4oo8) 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`](https://stackoverflow.com/questions/73657093). 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](https://scrapenews.com/errors/cloudflare-1020.md). A rate limit shows [1015](https://scrapenews.com/errors/cloudflare-1015.md).

“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](https://scrapenews.com/errors/cloudflare-1020.md) 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:

```text
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:

```text
HTTP Error 403: Forbidden
```

In a browser, you get an HTML page:

```text
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:

```bash
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:

```python
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:

```js
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.

| Factor | What we found | Source |
| --- | --- | --- |
| Smallest client that gets through | a plain HTTP client | [developers.cloudflare.com](https://developers.cloudflare.com/waf/tools/browser-integrity-check/) |
| Checks stacked | header and HTTP/2 fingerprint | [developers.cloudflare.com](https://developers.cloudflare.com/waf/tools/browser-integrity-check/) |

Our analysis of 2 sourced facts; measured runs replace them as they come. [How we rate difficulty](https://scrapenews.com/rating.md)

## Related

- [Why am I blocked? How to avoid getting blocked while scraping](https://scrapenews.com/guides/how-to-avoid-getting-blocked-scraping.md)  (Guide)
- [Cloud browsers](https://scrapenews.com/compare/cloud-browsers.md)  (Compare)
- [Cloudflare Error 1015](https://scrapenews.com/errors/cloudflare-1015.md)  (Error)
- [Cloudflare "Access denied Error code 1020"](https://scrapenews.com/errors/cloudflare-1020.md)  (Error)
- [Cloudflare "Just a moment...Enable JavaScript and cookies to continue"](https://scrapenews.com/errors/cloudflare-just-a-moment.md)  (Error)
- [Cloudflare Error 1005, 1006, 1009](https://scrapenews.com/errors/cloudflare-1005-1006-1009.md)  (Error)

## Sources

1. [Cloudflare docs: Error 1010](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/error-1010/) developers.cloudflare.com
2. [Cloudflare docs: Browser Integrity Check](https://developers.cloudflare.com/waf/tools/browser-integrity-check/) developers.cloudflare.com
3. [Cloudflare docs: Pages known issues (Browser Integrity Check on Pages)](https://developers.cloudflare.com/pages/platform/known-issues/) developers.cloudflare.com
4. [Cloudflare docs: workers.dev (Browser Integrity Check)](https://developers.cloudflare.com/workers/configuration/routing/workers-dev/) developers.cloudflare.com
5. [Cloudflare Community: Pages returns 403/1010 for Python urllib despite Browser Integrity Check](https://community.cloudflare.com/t/cloudflare-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](https://community.cloudflare.com/t/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)](https://github.com/open-artifacts-ai/open-artifacts/issues/2687) github.com
8. [docker/hub-feedback issue #2502: Cloudflare blocks Login via GitHub Actions, HTTP 403 / error code: 1010](https://github.com/docker/hub-feedback/issues/2502) github.com
9. [Python docs: urllib.request (default User-Agent)](https://docs.python.org/3/library/urllib.request.html) docs.python.org
10. [Cloudflare docs: Skip options (Skip products, bic)](https://developers.cloudflare.com/waf/custom-rules/skip/options/) developers.cloudflare.com
11. [Cloudflare docs: Configuration rules settings (Browser Integrity Check)](https://developers.cloudflare.com/rules/configuration-rules/settings/) developers.cloudflare.com
12. [Jonas Francisco de Lima Filho: One User-Agent string got a 403. curl, wget and Go went straight through](https://dev.to/jonasfilhodev/one-user-agent-string-got-a-403-curl-wget-and-go-went-straight-through-4oo8) dev.to
13. [Stack Overflow: 403 Forbidden "error code: 1010" on a Spring Boot RestTemplate call](https://stackoverflow.com/questions/73657093) stackoverflow.com
14. [opencode issue #41320: Cloudflare 1010 blocks OpenAI Codex CLI from OpenCode Go API](https://github.com/anomalyco/opencode/issues/41320) github.com
15. [Cloudflare docs: JA3/JA4 fingerprint (Bot Management)](https://developers.cloudflare.com/bots/additional-configurations/ja3-ja4-fingerprint/) developers.cloudflare.com
16. [Meta Stack Exchange: CloudFlare error 1010: banned access based on your browser's signature](https://meta.stackexchange.com/questions/261741/cloudflare-error-1010-banned-access-based-on-your-browsers-signature) meta.stackexchange.com

## Up

- [Home](https://scrapenews.com/index.md)
- [Errors & CAPTCHAs](https://scrapenews.com/errors.md)
