logo
bars
///
Invalid Captcha Meaning and Fixes
Kira Pridantseva
Kira Pridantseva
Technical Editor
November 6, 2026
10 min

 

Invalid Captcha Meaning and Fixes

An invalid captcha error is the text a site shows when its captcha check fails. The invalid captcha meaning is vague, though: the message doesn't say where it failed. A visitor only sees a form that didn't go through. Site owners usually get an error code from the verification response. That code can help you find the cause in reCAPTCHA v2, reCAPTCHA v3, or Cloudflare Turnstile and fix the issue.
 

robots
Get started now and automate your solution reCAPTCHA v2

Key Takeaways

  • A form error rarely names the problem. Look for the cause in the verification response and your server logs.
  • Check timing first when only some submissions fail. A token is rejected after 2 minutes on reCAPTCHA or 300 seconds on Turnstile, or if it was already verified, so request or refresh it close to submission.
  • If nobody gets through the form, check the keys and the domain settings first.
  • Even success: true from reCAPTCHA v3 does not guarantee that the request goes through. The site’s own threshold determines how a low score is handled.
  • Caching and script optimization plugins can serve stale form data or break the captcha script. Before changing settings, compare a cached page with an uncached one.

What Does Invalid Captcha Mean?

The error message will tell you that the site has rejected the captcha result that was sent with the form. If you’re asking “what is an invalid captcha,” then follow the token. It is generated in the browser as part of the visitor going through the widget.

The visitor then submits the form, and the token goes with it to your backend. Your backend can’t verify it on its own, so it sends the token and your secret key to siteverify, and Google or Cloudflare replies with JSON. A success field is always included, and when the check has failed you’ll find an error-codes array there as well.

Client side (the form). Sometimes the widget does not load or returns nothing usable, and the form stops the submission on its own, before your server sees it. Its wording comes from the site or its form plugin and often omits the actual cause.

Server side (the verification endpoint). If verification fails, siteverify sends back success: false with a code in the error-codes array. The code makes it clear what the problem is: on reCAPTCHA, timeout-or-duplicate means you’ve got an expired or already used token, and invalid-input-secret means you’ve got an invalid secret key. With reCAPTCHA v3, you can also have a request rejected after success: true if the score is below the threshold you’ve set.

To answer “what does invalid captcha mean” for your form, find the step where the check failed. That is the invalid captcha meaning that matters for debugging, so start with the error code in your server logs.

Definitions

Token: The string the widget generates after a check. Your backend forwards it to siteverify in the response parameter.

Sitekey: The public half of your key pair, which you place in the page to load the widget. It must match the widget type and, when domain restrictions are enabled, the page's domain.

Secret key: The private counterpart of the sitekey. Your server keeps it and sends it as secret whenever it calls siteverify.

Score: The number in a reCAPTCHA v3 siteverify response, between 0.0 and 1.0. At 1.0, the interaction is very likely good, and at 0.0 it is very likely a bot.

Threshold: The score your site treats as the minimum. Choose the threshold based on scores from your own traffic.

Why You See Invalid Captcha in 2026

  • Expired or reused token. On reCAPTCHA, the token will expire 2 minutes after it was issued, and on Turnstile it has 300 seconds. A token can also only be verified once, which is why a form that was filled in slowly or submitted twice can end up being rejected.
  • Wrong sitekey or secret key. A key that does not match the domain or captcha type can stop verification. An invalid secret key gets invalid-input-secret back from siteverify.
  • Score below threshold (reCAPTCHA v3). The token itself is fine here: Google answers success: true but attaches a score below your threshold. Your code decides whether that turns into an error for the visitor.
  • Cache plugin serving stale content. A cached copy may hold an old sitekey, form script or security value. Some integrations go further and cache the generated token itself, which can then expire or be reused by the next submission.
  • Browser extensions, network issues and script blocking. An ad blocker, a privacy add-on or a corporate filter can block the widget, so it never gets as far as creating a token. If your backend calls siteverify anyway without a response, it will get missing-input-response back, and on Turnstile you’ll see client-side error 200500 in the browser when the iframe can’t load.
  • reCAPTCHA key migration and quotas. Google's migration timeline scheduled the automatic move of Classic keys to Google Cloud for Q4 2025–Q1 2026. Keys without an associated Cloud project may lose API access, while the free quota is 10,000 assessments per organization per month. For more on quota-related errors and verification issues, see our guide to troubleshooting reCAPTCHA failures.

Invalid Captcha Token and Expired Tokens

An invalid captcha token is simply a token that siteverify won’t accept. It may be missing or malformed, it may have expired, or it may have been used once already. When the captcha token expired before your server checked it, the widget has to produce a new one.

On reCAPTCHA, the error code only partly narrows it down. Expiry and reuse both give you timeout-or-duplicate, so you can’t tell them apart from the code. A malformed or invalid token gives you invalid-input-response, and an omitted response gives you missing-input-response.

Turnstile is less consistent. Cloudflare’s validation documentation gives two answers on expiry: the token-lifetime section says timeout-or-duplicate, and the error table says invalid-input-response. Whichever one you see, the visitor needs a fresh token, and your timing and request logs tell you what happened.

To get that timing, note two moments for each submission: when the browser got the token and when your server checked it. Run the check before anything goes to a background queue. Retries need care too. A reCAPTCHA retry fails as a duplicate if the first attempt already used the token. Turnstile has a parameter for this case, idempotency_key: one UUID per validation request and its retries, a new one for the next validation. It does not extend token lifetime.

The fix follows from the cause:

  • Verify each token once during submission processing.
  • With reCAPTCHA v3, request the token on submit instead of on page load.
  • With Turnstile, refresh-expired defaults to auto. With manual, the visitor starts the refresh; with never, handle expiry using expired-callback and turnstile.reset(). See the widget settings.

If You're a Visitor

If you see an “invalid captcha” or “captcha verification failed” message after submitting a form, try reloading the page and submitting it again. The captcha token may have expired while you were filling in the form, especially if you left the page open for a while.

If the error keeps appearing, temporarily disable browser extensions such as ad blockers or privacy tools, then try again. You can also disconnect your VPN and check that JavaScript is enabled in your browser. If none of these steps helps, contact the website owner. The problem may be on their side.

Invalid reCAPTCHA and Invalid Captcha Response from Google

An invalid captcha response from Google is a siteverify reply with success: false for the verification request your server sent. That reply alone does not explain much. To find out the invalid reCAPTCHA meaning in your case, look at the error code that came with it.

The check itself is a POST from your backend to https://www.google.com/recaptcha/api/siteverify with secret and response; remoteip can be added but isn’t required. Where www.google.com can’t be reached, www.recaptcha.net works as an alternative. In its current SiteVerify documentation, Google calls this endpoint legacy and suggests CreateAssessment for new integrations. Migrated keys still work with SiteVerify.

Problems with the secret key show up as missing-input-secret or invalid-input-secret, while bad-request points to a malformed call. Keep in mind that challenge_ts marks when the challenge was loaded, not the exact moment the token was issued.

Check successful responses too. If hostname shows staging on a production request, the token came from staging. On v3, verify action against the operation your backend expects, then apply your score threshold. This helps you distinguish a token that passed verification from a form submission that your backend actually accepted. Each case is covered in reCAPTCHA validation errors and their fixes.

Captcha Validation Failed vs Captcha Verification Failed

Either message means the form did not get past the captcha, but neither identifies where it failed. Sites and plugins choose their own wording; there is no standard split between a local validation error and a server verification error.

What triggers this message depends on how the form handles captcha checks. A visitor might submit before the widget loads, and the page might reject the empty token field immediately. The backend can also reject a missing token without calling siteverify.

If you're asking “what does captcha verification failed mean,” check whether the form reached your backend and what happened next. A success: false response points to an API rejection.

To find out why the form was rejected, trace a submission from the browser to your backend. No form request means a client-side refusal; a backend request without a siteverify call means the server stopped it earlier. The same error message can indicate different problems, so check the logs to find where the request failed.

Sitekey Errors and Domain Mismatch

A sitekey error comes up when the public key does not fit the page's domain or widget type. These configuration errors usually affect every request using the same setup.

When reCAPTCHA domain verification is enabled, the page must use an allowed domain. A listed domain also covers its subdomains. An unauthorized domain shows “ERROR for site owner: Invalid domain for site key”. Using a v3 key with a v2 checkbox produces “ERROR for site owner: Invalid key type”. See Google's key configuration.

Turnstile reports 110200 for an unauthorized domain, 110100 for an invalid sitekey and 110110 for a sitekey it cannot find. Its hostname rules also cover subdomains: listing example.com permits shop.example.com, but listing only www.example.com does not permit the parent domain or a sibling such as shop.example.com.

The backend runs a separate check: an invalid secret gets invalid-input-secret. Common mistakes include:

  • keys copied from the wrong environment;
  • a new domain outside the allowed list;
  • a sitekey and secret copied from different key pairs.

Keep both keys in one configuration source per environment. Update domain settings before switching traffic. If you disable Google's domain verification, your backend must reject tokens from unexpected hostnames.

Score Below Threshold (reCAPTCHA v3)

A low score can cause a form rejection even when the token is valid. For example, siteverify returns success: true with a score of 0.3, but your threshold is 0.5. Your code rejects the request, and the visitor sees an error. v3 never shows a challenge on its own, so this rejection comes from your site's decision, not from Google.

Google scores each request between 0.0 and 1.0. A 1.0 is very likely a good interaction, and a 0.0 is very likely a bot. Review scores from your own traffic before choosing a threshold.

To diagnose threshold rejections, log these fields from every v3 response:

  • success and any error codes;
  • score, to see the distribution across real traffic;
  • action, which must match the operation your backend expects;
  • hostname and challenge_ts, for the token's origin and challenge timing.

Reject an unexpected action rather than simply logging it. If legitimate users are rejected, review scores per action first. One option is a separate threshold for each action. Another is an extra step, such as email confirmation, instead of an immediate rejection. Google's guidance on interpreting scores explains how to choose a response based on risk.

Cache Plugins and Invalid Captcha

Cache plugins can cause invalid captcha errors by serving outdated form data or interfering with script execution. A useful clue is a form that works while you're logged in but fails for anonymous visitors: depending on the cache settings, the two groups may receive different page versions.

Caching HTML alone does not normally cache the captcha token, which the browser generates separately. In the affected page, look for:

  • an integration that saves and reuses an already generated token;
  • expired form security values, such as plugin nonces;
  • an old sitekey or form script after a configuration change;
  • script optimization settings that change loading order or delay the widget.

Compare cached and uncached versions first. If caching causes the failure, fix dynamic field updates or exclude the affected page. If script optimization is responsible, exclude the captcha script from the relevant setting. You do not need to disable page caching for every form.

Clear stale page content after a key change, and purge the CDN if it holds another copy. For Turnstile, load api.js directly from Cloudflare; its integration documentation warns against proxying or caching that file yourself.

Troubleshooting Invalid Captcha by Captcha Type

Once you understand what is an invalid captcha at the protocol level, troubleshooting comes down to matching the symptom to the captcha type and checking the siteverify error code. If you are not sure which service a form uses, start with how to tell which captcha a site uses.

reCAPTCHA v2

On reCAPTCHA v2, problems show up either as a message inside the widget or as an error code in the siteverify response. Google's verification documentation lists the server-side errors and explains what they mean.

Symptom

Likely cause

What to check

Widget shows “ERROR for site owner: Invalid domain for site key”

Current domain is not allowed for the key

Domain list and whether a listed parent domain covers it

Widget shows “ERROR for site owner: Invalid key type”

Key type does not match the widget

Key version and widget mode

success: true with an “Over free quota.” message

Free monthly quota exceeded without active billing; verification fails open

Billing for the project and usage across the organization

missing-input-response

No token sent to SiteVerify

g-recaptcha-response reaches the backend and is forwarded as response

invalid-input-response

Invalid or malformed token

Token passed unchanged from the form to the backend

invalid-input-secret

Invalid or malformed secret key

Secret belongs to the same key pair as the sitekey

timeout-or-duplicate

Token expired or was already verified

Token age and verification calls per submission

reCAPTCHA v3

On reCAPTCHA v3, most problems show up either in the score logic or as an error code in the siteverify response.

Symptom

Likely cause

What to check

success: true, but the form is rejected

Score below threshold or another backend check failed

Score, expected action and hostname

success: true, static score of 0.9 and “Over free quota.”

Free monthly quota exceeded without active billing; verification fails open

Billing and monthly usage across the organization

action differs from the expected value

Token generated for another action

Action expected by the backend vs the verified response

timeout-or-duplicate

Token expired or was already verified

When the token is generated and whether it was reused

invalid-input-secret

Invalid or malformed secret key

Secret key configuration

hostname differs from the expected domain

Token created on another site or staging

Verified hostname against the backend's allowed hosts

missing-input-response

No token forwarded to SiteVerify

Script loading, grecaptcha.execute() and token submission

Cloudflare Turnstile

Turnstile reports widget failures through client-side error codes, separately from server-side Siteverify responses.

Symptom

Likely cause

What to check

Widget error 110200 (Domain not authorized)

Hostname is not authorized for the sitekey

Hostname list for the widget

Widget error 110100 (Invalid sitekey) or 110110 (Sitekey not found)

Wrong or mistyped sitekey

Sitekey in the Cloudflare dashboard

timeout-or-duplicate

Token reused or expired, according to the token-lifetime guidance

Token age, duplicate calls and the same idempotency_key for retries of one validation

missing-input-response

No token sent to Siteverify

Widget completed and token forwarded as response

invalid-input-response

Invalid or malformed token; Cloudflare's error table also includes expiry

Token integrity and whether a fresh token resolves the error

missing-input-secret or invalid-input-secret

Missing secret, or a secret that is invalid or expired

Secret key for this widget

bad-request

Malformed validation request

POST to https://challenges.cloudflare.com/turnstile/v0/siteverify with secret and response

internal-error

Internal error during validation

Retry the validation request

FAQ

The sitekey is public. It goes into your page, and the widget loads with it. The token is what the widget returns after a check, and it works only once. The sitekey and token pass through the browser. The secret key never does. Your server keeps it and sends it only to the siteverify endpoint. If the sitekey and secret come from different key pairs, verification fails.

The token was checked after its validity window: 2 minutes on reCAPTCHA or 300 seconds on Turnstile. reCAPTCHA reports expiry as timeout-or-duplicate. Cloudflare's documentation associates expiry with both that code and invalid-input-response, so handle both as failed checks and obtain a fresh token. Generate or refresh the token close to submission, then verify it before processing the request.

Yes. It can serve an old sitekey, script or form security value; a faulty integration may also cache an already generated token. Caching HTML alone does not normally cache the token. Compare cached and uncached pages, then fix the affected dynamic field or script setting. Exclude the page from caching only if needed, and purge stale copies after configuration changes.

Usually nothing, since both tell you the captcha check rejected the request. The site or form plugin writes these messages, not Google or Cloudflare. Some sites reserve the verification wording for failed siteverify calls and use the other message more broadly. Check whether the form reached the backend and what the verification response contained to locate the failure.

No. Whether a low score turns into an error is your site's decision. reCAPTCHA v3 itself blocks nobody: Google only sends a score between 0.0 and 1.0, and your backend holds it up against your threshold. A request that falls short can be rejected, logged, or passed to an extra verification step. The wording the visitor sees, if any, comes from your code as well.

Testing Captcha Integrations with CapMonster Cloud

CapMonster Cloud helps QA engineers and developers run automated tests of captcha integrations on their own websites and forms, for example in CI pipelines and regression tests. The CapMonster Cloud documentation describes task types for reCAPTCHA v2 (RecaptchaV2Task), reCAPTCHA v3 (RecaptchaV3TaskProxyless) and Cloudflare Turnstile (TurnstileTask). Use the returned tokens to test your backend's verification flow after deployment.


NB: CapMonster Cloud is intended solely for automated testing of your own resources, or resources you have legal authorization to access.

ItGuy
geear
Affiliate program for software developers
Earn up to 30% from your users’ spending on captcha bypass
✅ Request sent
Thank you for your interest in our partnership program! We will contact you within 7 working days.
Request to Join
Fill out the form to submit an application for the affiliate program.