Skip to content
Guide

Cloudflare Turnstile Error Codes: 110xxx, 200100, 300xxx, 600xxx and How to Fix Them

NSLSolver TeamPublished 8 min read

Cloudflare Turnstile error codes are six-digit numbers the widget reports when it cannot finish. The first three digits give the family: 110xxx means a configuration problem such as an invalid sitekey or an unauthorized domain, 200100 means the device clock is wrong or a cache served a stale challenge, and 300xxx or 600xxx mean the visitor failed the bot check. On the server, siteverify returns text codes instead, and invalid-input-response or timeout-or-duplicate almost always mean the token is fake, older than 300 seconds, or already used.

This page lists every code in Cloudflare's current reference with its meaning and fix, then translates the plain-English messages that sites and plugins show, such as "Invalid Turnstile token" or "Turnstile verify failed", back to the code that caused them.

Two kinds of errors: six-digit codes come from the widget in the browser, text codes such as invalid-input-response come from siteverify on the server. If your form says "the cf-turnstile-response field is required", or siteverify rejects every token, the step-by-step fixes are in our cf-turnstile-response invalid guide.

How do Turnstile error codes work?

When the widget hits a problem, it calls the error-callback you passed to turnstile.render() (or data-error-callback on the div) with the code as the first argument. If the callback returns a falsy value, Turnstile also writes a warning with the code to the browser console. With no callback at all, it throws a JavaScript exception, so add one in production.

The first three digits name the family and the rest identify the exact error. Cloudflare writes some codes with an asterisk, such as 300* and 600*: the trailing digits vary and are for internal use, so 600010 is simply one member of the 600 family. By default the widget retries on its own (retry: "auto"), which means the callback can fire several times for one underlying problem.

widget.js
turnstile.render('#login-widget', {
  sitekey: '0x4AAAAAAAB...',
  'error-callback': function (code) {
    // code is a string such as "110200", "200100" or "600010"
    console.warn('Turnstile error', code)
    return false // falsy: Turnstile also logs the code and keeps retrying
  },
})

Client-side Turnstile error codes (widget)

These are the codes in Cloudflare's error code reference. "Retry helps" follows Cloudflare's own column: when it says no, retrying will fail the same way until the cause is fixed.

CodeMeaningRetry helpsFix
110100Invalid sitekeyNoCopy the sitekey again from the Turnstile widget in the Cloudflare dashboard.
110110Sitekey not foundNoCheck the sitekey for typos and confirm the widget still exists in the dashboard.
110200Domain not authorizedNoAdd the page hostname (including staging and subdomains) under Hostname Management.
110600Challenge timed outYesThe challenge took too long or the device clock is wrong. Sync the clock and retry.
110620Interaction timed outYesThe visitor did not interact in time. Call turnstile.reset() to show a new challenge.
200100Clock or cache problemNoFix the device clock, or stop a CDN, proxy or service worker from caching the challenge.
200500Iframe load errorYesThe Turnstile iframe could not load. Make sure challenges.cloudflare.com is not blocked.
300xxxGeneric challenge failureYesBot-like behavior was detected. Work through the browser checklist below.
400020Invalid sitekeyNoSame fix as 110100: verify the sitekey in the dashboard.
400021Sitekey domain mismatchNoThe sitekey region does not match the domain in the Turnstile script tag. Use the script tag that matches the widget.
400070Sitekey disabledNoThe widget is disabled. Re-enable it in the dashboard or use an active sitekey.
600xxxGeneric challenge failureYesSame as 300xxx: the bot check failed. Retry, then use the checklist below.

Source: Cloudflare Turnstile error codes reference, checked 29 November 2026. Lists still circulating with codes such as 100010, 110420, 110500, 120010 or 200010 come from an older version of that page, which Cloudflare corrected in March 2026; 200100 and 200500 also changed meaning then.

What does Turnstile error 200100 mean?

Error 200100 means Cloudflare saw a clock or cache problem: either the visitor's system clock is wrong, or the challenge was cached by something between the browser and Cloudflare. Because the challenge is time-sensitive, a stale copy or a clock that is hours off cannot pass, and retrying the same page does not help.

  • Visitors: turn on automatic date and time in the operating system settings, then reload the page with a hard refresh (Ctrl+Shift+R or Cmd+Shift+R).
  • Visitors: try a private window. It rules out a cached copy and browser extensions in one step.
  • Site owners: exclude the page that renders the widget, and every request to challenges.cloudflare.com, from page caches, caching plugins and service workers.
  • Site owners: if a reverse proxy or CDN sits in front of the page, check that it is not caching responses it should pass through.

"Turnstile script failed to load" and error 200500

The widget is loaded from https://challenges.cloudflare.com/turnstile/v0/api.js and runs inside an iframe served from the same domain. If either is blocked, the site shows something like "Turnstile script failed to load", or the widget reports 200500 (iframe load error). Nothing is wrong with the token at that point: the challenge never started.

  • Ad blockers, privacy extensions and script blockers are the most common cause. Disable them for the site and reload.
  • A Content-Security-Policy must allow https://challenges.cloudflare.com in both script-src and frame-src.
  • Corporate firewalls, DNS filters, VPNs and some proxies block challenges.cloudflare.com. Try another network, such as a mobile hotspot.
  • JavaScript must be enabled. Turnstile supports all major browsers except Internet Explorer.
  • A 401 error in the console during the check is usually harmless: Cloudflare explains it as a Private Access Token request the browser does not support. If you still get a token, ignore it.

What do 300xxx and 600xxx errors mean?

Both families are generic challenge failures: Cloudflare detected behavior it associates with bots and did not issue a token. Error 600010, the one people search for most, is part of this family. A retry can succeed, but if the same browser fails repeatedly, the environment is the problem, not the site.

Cloudflare's troubleshooting list for these codes is, in order:

  • Check browser compatibility and update the browser. Cloudflare has a checker at debug.challenges.cloudflare.com.
  • Disable browser extensions, especially ad blockers, and reload.
  • Make sure JavaScript is enabled.
  • Try an incognito or private window.
  • Try another browser or device.
  • Turn off VPNs and proxies temporarily.
  • Switch to a different network.
  • Site owners: automated test browsers (Selenium, Playwright, Cypress) are detected as bots by design. For your own test suites, use Cloudflare's dummy sitekeys, such as 1x00000000000000000000AA (always passes), instead of the production key.

Server-side siteverify error codes

The widget alone does not protect a form: your backend has to POST the token and your secret key to https://challenges.cloudflare.com/turnstile/v0/siteverify. On failure, Cloudflare returns "success": false and an "error-codes" array. A token is at most 2,048 characters, valid for 300 seconds, and meant to be validated once.

error-codes valueMeaningFix
missing-input-secretThe secret parameter was not sent.Send the widget's secret key. An unset environment variable is the usual culprit.
invalid-input-secretThe secret key is invalid or expired.Copy the secret from the same widget as the sitekey. After a rotation, deploy the new secret.
missing-input-responseNo token was sent.The form arrived without cf-turnstile-response. See the "token required" messages below.
invalid-input-responseThe token is invalid, malformed or expired.Have the visitor redo the challenge. Check the token is not truncated or a test token.
bad-requestThe request itself is malformed.POST secret and response as form data or JSON to the siteverify endpoint.
timeout-or-duplicateThe token is older than 300 s or was already validated.Get a new token and validate each token exactly once.
internal-errorCloudflare hit an internal error.Retry the siteverify call. An idempotency_key makes the retry safe.

Source: Cloudflare Turnstile server-side validation docs, checked 29 November 2026.

What does the message on the page actually mean?

Most people never see a raw Cloudflare code. They see a message written by the site, WordPress plugin, form builder or login script that wraps the widget and siteverify. The wording changes from site to site, but each message maps back to one of the codes above.

One message is worth decoding in full: "captcha provider unable to verify token => turnstile token is not valid (http ok; ts invalid-input-response)". Here "http ok" means the site reached Cloudflare without trouble, and "ts invalid-input-response" is the siteverify code Cloudflare sent back: the token itself was rejected.

Message you seeWhat it usually meansWhat to do
"Turnstile token required", "Error! Turnstile token required", "Turnstile token missing", "Turnstile token is empty"The form was sent without a token (missing-input-response). The widget never finished, or never loaded.Wait for the checkmark before submitting; disable blockers. Developers: keep the widget inside the form.
"请完成 Turnstile 验证,然后重试"Chinese for "complete the Turnstile check, then try again". Same cause: no token was sent.Complete the widget first. If it never appears, see the script-loading fixes above.
"Error getting Turnstile token"The widget raised a client-side error instead of producing a token.Open the browser console and look up the six-digit code in the table above.
"Invalid Turnstile token", "Error! Invalid Turnstile token", "turnstile.invalid_input_response", "turnstile token is not valid"siteverify returned invalid-input-response: the token is malformed, forged, expired or a test token.Reload the page and pass the check again. Site owners: check sitekey and secret belong to the same widget.
"Turnstile verify failed, please refresh the page and try again", "Turnstile validation failed"siteverify returned success: false, very often timeout-or-duplicate after a long wait or a double submit.Refresh, pass the check again and submit once, within five minutes.
"Incorrect Turnstile response. Try the verification again."A generic siteverify rejection, usually an expired or reused token.Redo the challenge. If it keeps failing, use the 300xxx/600xxx checklist.

These messages are not Cloudflare's. The mapping is the most common cause; the site's own logs show the exact error-codes value.

Why is a token from a solver still rejected?

If you automate your own login flows, run integration tests against a third-party site or scrape pages you are allowed to scrape, you can get Turnstile tokens from a solver API instead of a browser. A token that the site still rejects is almost always one of these:

  • Action or cdata mismatch. If the widget sets data-action or data-cdata, siteverify returns those values and many sites compare them. Pass exactly the same strings to the solver.
  • Expired. Tokens are valid for 300 seconds from generation. Solve right before you submit, not at the start of a long job.
  • Reused. Tokens are single-use, so a retry with the same token returns timeout-or-duplicate. Solve again for every submission.
  • Wrong sitekey or URL. Use the data-sitekey of the widget on the exact page you submit, and that page's URL. Sites with several widgets often use a different sitekey on login and signup.
  • Wrong field. The token usually goes in cf-turnstile-response, but sites can rename it (data-response-field-name) or send it in a JSON body or header. Copy what the browser sends.
  • IP checks. siteverify accepts an optional remoteip. If tokens fail only from your script, solve through the proxy you submit from, using the proxy and user_agent fields.

Get a fresh Turnstile token in Python

NSLSolver solves Turnstile in about 250 ms on average and returns a token you submit exactly like a browser would. It costs $0.80 per 1,000 successful solves, and failed solves are never billed. Turnstile is solved without a proxy by default.

turnstile_token.py
import requests

NSL_API_KEY = "nsl_your_api_key"
PAGE_URL = "https://example.com/login"  # the page that shows the widget
SITE_KEY = "0x4AAAAAAAB..."             # data-sitekey of the .cf-turnstile element


def solve_turnstile(action=None, cdata=None):
    body = {"type": "turnstile", "site_key": SITE_KEY, "url": PAGE_URL}
    if action:
        body["action"] = action  # only if the widget sets data-action
    if cdata:
        body["cdata"] = cdata    # only if the widget sets data-cdata
    resp = requests.post(
        "https://api.nslsolver.com/solve",
        headers={"X-API-Key": NSL_API_KEY},
        json=body,
        timeout=120,
    )
    resp.raise_for_status()
    return resp.json()["token"]


# Solve right before you submit: the token expires after ~300 s and works once.
token = solve_turnstile(action="login")

r = requests.post(PAGE_URL, data={
    "email": "you@example.com",
    "password": "your-password",
    "cf-turnstile-response": token,  # or the field name the site actually uses
})
print(r.status_code)

Full /solve API reference

Still stuck on siteverify? The cf-turnstile-response invalid guide covers every root cause of rejected tokens. For integration details and pricing, see the Cloudflare Turnstile solver API.

Frequently asked questions

What does Turnstile error 200100 mean?

It is a clock or cache problem: the device clock is wrong, or a CDN, proxy, caching plugin or service worker served a cached copy of the challenge. Sync the clock, hard-refresh or use a private window; site owners should exclude the widget page and challenges.cloudflare.com from caching.

What does "invalid Turnstile token" mean?

The site sent your token to Cloudflare's siteverify endpoint and got invalid-input-response back: the token was malformed, forged, expired or a test token. Reload the page and complete the check again. For site owners, every root cause is covered in our cf-turnstile-response invalid guide.

Why does it say the Turnstile token is required or missing after I completed the check?

The form reached the server without the cf-turnstile-response value. Usually the widget had not finished, an extension blocked it, or the site's JavaScript submitted the form without reading the token. Wait for the checkmark, disable blockers and try again.

How do I fix Turnstile error 600010?

600010 belongs to the 600xxx family of generic challenge failures: Cloudflare detected bot-like behavior. Update the browser, disable extensions, try a private window, turn off VPNs or proxies, or switch network. Site owners cannot allow-list a visitor from this error.

How long is a Turnstile token valid?

300 seconds (5 minutes) from generation, and only for one siteverify call. After that, or on a second validation, Cloudflare returns timeout-or-duplicate and the visitor needs a new token, for example via turnstile.reset().

Can I get a valid Turnstile token for automated tests or scraping?

For your own site, use Cloudflare's dummy test sitekeys. For other sites you are allowed to automate, a solver API returns real tokens: NSLSolver takes the sitekey and page URL, answers in about 250 ms, and charges $0.80 per 1,000 successful solves, with 100 free solves on signup. See the Turnstile solver API.

Need Turnstile tokens on demand?

Fresh, single-use Turnstile tokens in about 250 ms through one POST request. $0.80 per 1,000 successful solves, only successful solves are billed, and 100 free solves on signup with no card required.