Skip to content
Reference

Anti-Bot Error Code Reference: Cloudflare, Turnstile, Kasada, Akamai and reCAPTCHA

NSLSolver TeamPublished Updated CC BY 4.0

This page lists the errors a scraper or automation script runs into on bot-protected sites, in one place: Cloudflare 1xxx codes, 403 and 503 challenge pages, Turnstile and reCAPTCHA siteverify codes, rejected cf_clearance cookies, Kasada 429s and Akamai _abck states, plus the status codes of the NSLSolver API itself.

Each entry gives what the error means, the likely cause and the fix in two or three lines, and links to the in-depth guide when there is one. Every error has its own anchor, so you can link straight to it, for example nslsolver.com/errors#cloudflare-1020.

Cloudflare errors

Cloudflare 1xxx errors are block pages that name a rule; they are not challenges, so no token or cookie clears them. 403 and 503 responses with "Just a moment..." are challenges, and a cf_clearance cookie does clear those.

1020 · Access denied

#cloudflare-1020

Seen as: HTTP 403, "Error 1020 Access denied" page with a Ray ID

What it means
A firewall (WAF custom) rule set by the site owner matched your request and blocked it. Cloudflare's own wording is "Error 1020: Access denied".
Likely cause and fix
Find which property matched: IP or ASN (datacenter proxies are a common target), country, user agent, header or path. Change that property, for example move to residential IPs or send complete browser headers. Retrying the same request never helps.

1015 · You are being rate limited

#cloudflare-1015

Seen as: HTTP 429, "Error 1015 You are being rate limited"

What it means
A rate-limiting rule on the site counted too many requests from your IP (or another key such as a header or cookie) in its time window.
Likely cause and fix
Slow down and spread requests over more IPs. Back off for the rule's mitigation period, which the site owner sets, before retrying. Solving a challenge does not reset the counter.

1010 · Banned based on your browser's signature

#cloudflare-1010

Seen as: HTTP 403, "The owner of this website has banned your access based on your browser's signature"

What it means
Cloudflare blocked the client itself, not the IP: the request looks like a known automation tool or headless browser, or fails the Browser Integrity Check.
Likely cause and fix
Send a real, current browser User-Agent with matching headers, and use a client whose TLS and HTTP/2 fingerprint matches that browser. Stock headless Chrome and default library user agents are the usual triggers.

1006 / 1007 / 1008 · Your IP address has been banned

#cloudflare-1006-1007-1008

Seen as: HTTP 403, "Access denied: Your IP address has been banned"

What it means
The site owner blocked your IP address, range or country, typically with an IP Access Rule. Cloudflare lists 1006, 1007, 1008 (and 1106) under the same cause.
Likely cause and fix
The block is on the IP, so only a different IP changes the outcome. If it is your own site or a partner's, ask the owner to allow your IP. Shared datacenter ranges are blocked most often.

403 · Forbidden (challenge or block)

#cloudflare-403

Seen as: HTTP 403 from a server: cloudflare response, with or without cf-mitigated: challenge

What it means
Two different things share this status. With the cf-mitigated: challenge header, it is a challenge page that a browser would solve. Without it, a rule blocked the request outright (often with a 1xxx code in the body).
Likely cause and fix
Check the cf-mitigated header first. If it says challenge, obtain a cf_clearance cookie and replay it with the same IP and User-Agent. If not, fix the IP, headers or TLS fingerprint that triggered the block.

503 · Service unavailable (challenge page)

#cloudflare-503

Seen as: HTTP 503 with a "Just a moment..." or "Checking your browser" body

What it means
Older Cloudflare challenge flows, such as the I'm Under Attack mode of past years, answered with 503 instead of 403. Some sites still do. A 503 without the challenge body is a real origin or Cloudflare outage.
Likely cause and fix
Treat a 503 with challenge markup exactly like a 403 challenge: get a cf_clearance cookie. If the body has no challenge markup, retry later with backoff.

Just a moment... · "Checking your browser" interstitial

#cloudflare-just-a-moment

Seen as: <title>Just a moment...</title>, "Checking your browser before accessing", "Verifying you are human"

What it means
Cloudflare served a JavaScript or managed challenge instead of the page. Plain HTTP clients cannot run it, so they loop on this page forever.
Likely cause and fix
Run the challenge once to earn cf_clearance (in a real browser or through a solver API) through the proxy you will scrape from, then send the cookie with the same User-Agent on every request until it expires.

cf_clearance · cf_clearance cookie rejected

#cf-clearance-rejected

Seen as: Requests that send cf_clearance still get a 403 or a fresh "Just a moment..." page

What it means
The cookie is valid only for the visitor that earned it and only for the site's Challenge Passage window (30 minutes by default). Replayed from a different context, Cloudflare treats it as missing.
Likely cause and fix
Replay from the same exit IP (a sticky proxy session), with the exact User-Agent returned with the cookie and a browser-like TLS client such as curl_cffi. Re-solve when it expires instead of reusing it across IPs.

Cloudflare Turnstile errors

Turnstile reports six-digit codes in the browser and text codes from siteverify on the server. Tokens are valid for 300 seconds and can be validated only once.

110xxx–600xxx · Turnstile client-side error codes

#turnstile-error-codes

Seen as: error-callback or console: 110100, 110200, 200100, 300030, 600010...

What it means
The widget could not produce a token. 110xxx is configuration (bad sitekey, unauthorized domain), 200100 a clock or cache problem, and 300xxx/600xxx a failed bot check.
Likely cause and fix
Look the exact code up in the full table: configuration codes need a dashboard fix, 200100 a correct clock and no caching of the challenge, and 300xxx/600xxx a cleaner browser environment.

invalid-input-response · Turnstile response invalid

#turnstile-invalid-input-response

Seen as: siteverify: "success": false, "error-codes": ["invalid-input-response"]; "Invalid Turnstile token"

What it means
Cloudflare rejected the token itself: it is malformed, forged, truncated, expired, a dummy test token, or was issued for a different sitekey.
Likely cause and fix
Check that the sitekey and secret belong to the same widget and that the full token reaches the server. For automated flows, solve with the exact sitekey, page URL, action and cdata of the widget.

Kasada errors

Kasada protects API endpoints rather than pages. Its refusal is an HTTP 429 that is a challenge, not a rate limit.

429 · Kasada 429 Too Many Requests

#kasada-429

Seen as: HTTP 429 with x-kpsdk-* response headers, often on the very first request

What it means
Kasada refused the call because valid x-kpsdk-ct and x-kpsdk-cd headers were missing, expired or already used. Waiting does not clear it.
Likely cause and fix
Send fresh Kasada headers on each protected call, keep the whole session on one exit IP, and use a client whose TLS fingerprint matches the User-Agent.

x-kpsdk-ct / x-kpsdk-cd · Missing or invalid x-kpsdk headers

#kasada-missing-x-kpsdk-headers

Seen as: Request without x-kpsdk-ct, x-kpsdk-cd or x-kpsdk-v gets 429 (sometimes 403)

What it means
x-kpsdk-ct is the client token issued after p.js fingerprints the browser and posts to /tl; x-kpsdk-cd is a per-request proof of work. Copying them from DevTools works once at most.
Likely cause and fix
Generate a new x-kpsdk-cd for every request and refresh x-kpsdk-ct when the site rejects it. A solver returns the full set (ct, cd, v, h) in one call.

Akamai Bot Manager errors

Akamai keeps its verdict in the _abck cookie, which its JavaScript sensor earns by posting sensor_data. Blocks come back as 403 "Access Denied" pages with a Reference # number.

_abck · Invalid _abck cookie (Access Denied)

#akamai-abck-invalid

Seen as: HTTP 403 "Access Denied ... Reference #18.xxxx", server: AkamaiGHost; _abck containing ~-1~

What it means
The request carried no validated _abck, or one earned by a different client. Akamai does not document the cookie format; community write-ups read ~-1~ as "not validated".
Likely cause and fix
Get validated cookies (_abck, bm_sz and the rest) and replay all of them with the same User-Agent, the same exit IP and a Chrome-like TLS client. Re-solve when Akamai blocks again.

sensor_data · sensor_data rejected

#akamai-sensor-data-rejected

Seen as: POSTs of sensor_data succeed but _abck stays at ~-1~; generated payloads stop working after an update

What it means
Akamai did not accept the sensor payload, so the cookie never became valid. The data, the client that sent it, or the IP looked wrong.
Likely cause and fix
Check the TLS/HTTP2 fingerprint, User-Agent and IP before the payload itself. Self-built sensor generators break when Akamai updates its script, so plan for maintenance or use an API.

reCAPTCHA v3 errors

A low reCAPTCHA v3 score is a verdict, not an error: siteverify still answers success: true. Real errors come with success: false and an error-codes array.

score 0.1–0.3 · reCAPTCHA v3 low score

#recaptcha-v3-low-score

Seen as: siteverify: "success": true, "score": 0.1, and the site rejects the form

What it means
Google rated the interaction as likely automated. The threshold (Google suggests starting at 0.5) is chosen by the site, not by Google.
Likely cause and fix
Scores depend on the IP, browser and the action name. Use a clean residential IP, a real browser environment, and the exact action the site expects; datacenter IPs and automation flags score low.

invalid-input-response · reCAPTCHA token invalid or expired

#recaptcha-invalid-input-response

Seen as: siteverify: "success": false, "error-codes": ["invalid-input-response"] or ["timeout-or-duplicate"]

What it means
The token is malformed or was issued for another site key (invalid-input-response), or it is older than two minutes or was already verified (timeout-or-duplicate).
Likely cause and fix
Verify with the secret that matches the site key, send the full token, generate it right before submitting, and verify each token only once.

NSLSolver API status codes

Errors from POST https://api.nslsolver.com/solve use the body { "success": false, "error": "<message>" }. Branch on the status code, not the message: retry 429 and 503 with exponential backoff, fix the request for every other 4xx.

400 · Validation failed

#nslsolver-400

Seen as: "Invalid JSON", "site_key is required", "url must use http or https"

What it means
A field is missing or malformed; the message names it.
Likely cause and fix
Fix the named field and send again. Do not retry unchanged.

401 · Authentication failed

#nslsolver-401

Seen as: "Missing API key. Use X-API-Key header.", "Invalid API key"

What it means
The X-API-Key header is missing or does not match an active key.
Likely cause and fix
Send the key in the X-API-Key header (not as a query parameter) and check it in your dashboard.

402 · Insufficient balance

#nslsolver-402

Seen as: "Insufficient balance"

What it means
The account balance cannot cover the solve. Failed solves are never billed, so a 402 does not mean balance was wasted.
Likely cause and fix
Top up the balance, then send the request again.

403 · Access denied

#nslsolver-403

Seen as: "IP not whitelisted", "Captcha type 'kasada' is not allowed for your account", "This domain is not allowed", "Access denied"

What it means
The key's IP allowlist, its allowed captcha types or the target domain rule refused the request. A bare "Access denied" means the calling IP is on the global ban list.
Likely cause and fix
Update the key's permissions or IP allowlist in the dashboard, or stop targeting the domain that is not allowed.

429 · Rate limited

#nslsolver-429

Seen as: "Rate limit exceeded: max 600 captchas per minute"

What it means
You sent more than the per-minute limit. Capacity refills continuously.
Likely cause and fix
Wait briefly and retry with exponential backoff, or spread requests over time.

503 · Backend unavailable or solve failed

#nslsolver-503

Seen as: "No backend servers available for this captcha type", "Backend error", "Solve failed"

What it means
The solve did not complete. It is not billed.
Likely cause and fix
Retry with exponential backoff. If one target keeps failing, check the request parameters and the proxy.

Cite this page

Linking to an error from a forum answer, GitHub issue or article? Use the page URL, or add the anchor of a single error.

https://nslsolver.com/errors

Suggested citation: NSLSolver. "Anti-Bot Error Code Reference." https://nslsolver.com/errors (2026-12-01). CC BY 4.0.

Deep link example:https://nslsolver.com/errors#cloudflare-1020

The text and reference data on this page are licensed under CC BY 4.0: you can copy, adapt and republish them, including commercially, as long as you credit NSLSolver and link to this page.

Frequently asked questions

What does Cloudflare error 1020 mean?

Error 1020 "Access denied" means a firewall rule set by the site owner blocked your request, based on a property such as IP, ASN, country, user agent or path. It is a block, not a challenge, so no token or cookie clears it: change the property the rule matches, for example by using residential IPs and complete browser headers.

What is the difference between Cloudflare error 1015 and 1020?

1015 is a rate limit: too many requests in a time window, answered with HTTP 429; slowing down or spreading requests over more IPs fixes it. 1020 is a firewall rule that matched your request, answered with HTTP 403; waiting does not help, you have to change what the rule matches.

Why does my scraper get "Just a moment..." from Cloudflare?

The site served a Cloudflare JavaScript or managed challenge (HTTP 403 with the cf-mitigated: challenge header, or 503 on older setups). Plain HTTP clients cannot run it. Earn a cf_clearance cookie once through your proxy and replay it with the same IP and User-Agent.

Why is my cf_clearance cookie rejected?

cf_clearance works only from the IP, User-Agent and client type that earned it, and only during the site's Challenge Passage window (30 minutes by default). Replaying it from another proxy IP, with a different User-Agent, or from a client with a non-browser TLS fingerprint gets a 403 or a new challenge.

What does a Kasada 429 error mean?

On a Kasada-protected site, a 429 with x-kpsdk-* response headers is a challenge, not a rate limit. The request lacked valid x-kpsdk-ct and x-kpsdk-cd headers, or reused them. Send fresh headers on every protected call and keep the session on one exit IP.

What does ~-1~ in the Akamai _abck cookie mean?

Akamai does not document the format, but community write-ups read ~-1~ as a cookie that has not been validated by the sensor. Requests with such a cookie tend to get 403 Access Denied. Get validated cookies and replay them with the same IP and User-Agent.

Can I reuse the content of this page?

Yes. The text and reference data are licensed under CC BY 4.0: copy, adapt and republish them, including commercially, with credit to NSLSolver and a link to nslsolver.com/errors.

Stop debugging challenges by hand

One POST to https://api.nslsolver.com/solve returns Turnstile tokens, cf_clearance cookies, reCAPTCHA v3 tokens, Kasada headers or Akamai cookies, solved server-side without a browser. Only successful solves are billed, and you get free credit when you sign up with Google, Gmail or Proton.