Quick answer: what your reCAPTCHA v3 result means
Find the error code or symptom your backend logs. The first rows are siteverify error-codes (success: false). The rest are cases where Google answers success: true but your own check still rejects the request.
- missing-input-secret
- Google received no secret parameter. Your server called siteverify without the secret key. Usually the environment variable is empty in this environment, or the field is sent as secret_key or key instead of secret. Log the outgoing request (not the value) and confirm a parameter named exactly secret is POSTed.
- invalid-input-secret
- The secret is wrong or malformed. The secret belongs to another key, carries a stray space or newline, or the public site key was pasted in its place. Copy the secret from the same key, in the reCAPTCHA admin console, as the site key your page loads.
- missing-input-response
- No token reached siteverify. The response parameter was empty: execute() never ran (api.js blocked by an extension, a Content-Security-Policy or a script optimiser), the frontend sends the token under a different field name than your backend reads, or a JavaScript submit dropped it. Log the body your backend receives.
- invalid-input-response
- The token is invalid or malformed. The token was altered on the way (cut by a column or input length limit, URL-encoded twice, whitespace added) or is not a reCAPTCHA token for this key. Pass the exact string returned by execute() and verify it with the matching secret.
- bad-request
- The siteverify request itself is malformed. POST to https://www.google.com/recaptcha/api/siteverify with secret and response as parameters (remoteip is optional), and check that a proxy, SDK or HTTP wrapper is not rewriting the method or body.
- timeout-or-duplicate
- The token is too old or was already used. Each token is valid for two minutes and can be verified only once. Call execute() when the user submits, not on page load, and make sure retries, double clicks or a second check in middleware never send the same token to siteverify twice.
- browser-error
- A browser-side failure, not a bad score. This string is not in Google's siteverify error table. Its documented counterpart is the Enterprise invalid reason BROWSER_ERROR: a retriable error, such as a network failure, in the browser. Let the page call execute() again and retry instead of blocking the visitor.
- success: true, but the score is always 0.1
- Google rates the request as very likely automated. Expected when you test with a headless browser, a script or a cloud server. Test in a normal browser on a normal connection. On reCAPTCHA Enterprise without a billing account only 0.1, 0.3, 0.7 and 0.9 are returned, so every low result shows up as exactly 0.1 or 0.3.
- Score 0.3 even for real users
- Google is not confident yet, or your setup hides context. reCAPTCHA learns from real traffic on your site, so new keys, staging and localhost score differently from production (Enterprise reports LOW_CONFIDENCE_SCORE). Log scores before enforcing, start at 0.5 as Google suggests, and send low scores to a second step instead of a block.
- Action mismatch
- The token was created for another action. siteverify returns the action name and Google calls it important to verify. Use the same string in grecaptcha.execute() and on the server: letters, digits, slashes and underscores only, never user-specific. Enterprise reports UNEXPECTED_ACTION.
- Hostname mismatch
- The token was generated on another domain. hostname is the site where the reCAPTCHA was solved. Add every real domain to the key (localhost is not supported by default; use a separate development key), and if you turned off domain validation you must compare hostname with your own allowlist. Enterprise reports DOMAIN_MISMATCH.
- Token older than 2 minutes
- Expired: siteverify returns timeout-or-duplicate (Enterprise: EXPIRED). Long forms, slow uploads and queued jobs outlive the token. Generate it right before the request is sent, or call execute() again when more than two minutes have passed.
- Score always 0.9 with "Over free quota."
- Your v3 key is over its monthly quota. Google's FAQ says siteverify may then fail open with a static 0.9 and that message for the rest of the month. Nothing is being scored: reduce verification calls or move to reCAPTCHA Enterprise.
Error codes, descriptions and limits checked against Google's reCAPTCHA documentation on 2026-11-30. Sources are listed at the end of the article.
A low reCAPTCHA v3 score is not an error. siteverify answers success: true, a score between 0.0 and 1.0 and the action name, and it is your own code that turns a 0.1 or 0.3 into a rejected form. A real error looks different: success: false plus an error-codes array such as timeout-or-duplicate or invalid-input-response. The two problems have different causes, so the first step is always to log the full siteverify response and see which one you have.
This guide covers both. It explains how the score is produced, what each response field means, how reCAPTCHA Enterprise reports the same things through assessments and reason codes, why real visitors sometimes score low, why automated traffic lands at 0.1, and what to change on each side. Statements about Google's behaviour come from Google's own reCAPTCHA documentation; where Google is silent, the text says so.
This error has an entry in our anti-bot error-code reference, next to every other Cloudflare, Turnstile, Kasada, Akamai and reCAPTCHA error.
How does the reCAPTCHA v3 score work?
reCAPTCHA v3 never shows a challenge. The page loads api.js with your site key, and when the visitor does something you want to protect, your code calls grecaptcha.execute(siteKey, {action: 'login'}). That returns a token, your backend sends it to Google's siteverify endpoint, and Google returns a score: per Google, 1.0 is very likely a good interaction and 0.0 is very likely a bot.
Three properties of that score explain most surprises:
- It is tied to an action. Every execute() call carries an action name, siteverify returns it, and Google says you should verify that it is the action you expect. The admin console breaks results down for your top ten actions.
- It adapts to your site. Google states that reCAPTCHA learns by seeing real traffic on your site, and that scores in a staging environment or soon after implementing may differ from production.
- The threshold is yours. Google does not block anyone. Its documentation says that by default you can use a threshold of 0.5, recommends first running reCAPTCHA without taking action and then deciding on thresholds, and suggests taking action behind the scenes instead of blocking traffic.
- Tokens are short-lived. Google documents that each token is valid for two minutes and can be verified only once, to prevent replay attacks.
What does siteverify return, field by field?
Your server POSTs secret (required), response (the token, required) and optionally remoteip (the visitor's IP) to https://www.google.com/recaptcha/api/siteverify. For a v3 key the JSON answer contains these fields:
| Field | What it means | What to check |
|---|---|---|
| success | Whether the token was a valid reCAPTCHA token for your site | If false, read error-codes; the score does not matter |
| score | The score for this request, 0.0 to 1.0 | Compare with your threshold and log it per action |
| action | The action name passed to execute() | Must equal the action you expect for this endpoint |
| challenge_ts | Timestamp of the challenge load (ISO format) | Shows tokens generated long before the submit |
| hostname | Hostname of the site where the reCAPTCHA was solved | Must be one of your domains; mandatory to check if domain validation is off |
| error-codes | Optional list of error codes | Present when success is false; see the quick-answer table |
Source: Google reCAPTCHA v3 and "Verifying the user's response" documentation.
A server-side check that tells a low score from an error
Most "reCAPTCHA failed" bug reports come from code that collapses every outcome into one boolean. Keep the reasons apart and log them: an error code points at your integration, an action or hostname mismatch points at the token's origin, and a low score is a policy decision.
# Server-side reCAPTCHA v3 check that logs WHY a request failed.
# A typical siteverify answer for a v3 key:
# {"success": true, "score": 0.9, "action": "login",
# "challenge_ts": "2026-11-30T10:15:02Z", "hostname": "www.example.com"}
# and on error:
# {"success": false, "error-codes": ["timeout-or-duplicate"]}
import os
import requests
SECRET = os.environ["RECAPTCHA_SECRET"]
EXPECTED_ACTION = "login"
ALLOWED_HOSTS = {"example.com", "www.example.com"}
THRESHOLD = 0.5 # Google's default suggestion; tune per action from real traffic
def verify_recaptcha(token: str, user_ip: str | None = None) -> tuple[bool, str]:
if not token:
return False, "no token in the request (missing-input-response)"
params = {"secret": SECRET, "response": token}
if user_ip:
params["remoteip"] = user_ip # optional: the visitor's IP
result = requests.post(
"https://www.google.com/recaptcha/api/siteverify",
data=params,
timeout=10,
).json()
if not result.get("success"):
return False, "error: " + ",".join(result.get("error-codes", ["unknown"]))
if result.get("action") != EXPECTED_ACTION:
return False, f"action mismatch: {result.get('action')}"
if result.get("hostname") not in ALLOWED_HOSTS:
return False, f"hostname mismatch: {result.get('hostname')}"
score = float(result.get("score", 0.0))
if score < THRESHOLD:
# Low score is not an error: ask for a second step instead of a hard block
return False, f"low score: {score}"
return True, f"ok: {score}"reCAPTCHA Enterprise: assessments, riskAnalysis.score and reason codes
reCAPTCHA Enterprise loads enterprise.js and calls grecaptcha.enterprise.execute(), and the backend does not use siteverify. It creates an assessment with POST https://recaptchaenterprise.googleapis.com/v1/projects/PROJECT_ID/assessments, sending event.token, event.siteKey, event.expectedAction and, optionally, the visitor's userIpAddress and userAgent. The token rule is the same: each token can be used once and expires after two minutes.
The answer has two parts. tokenProperties says whether the token itself is valid (valid, invalidReason, hostname, action, createTime). riskAnalysis carries the score and the reasons behind it. A token can be perfectly valid and still score 0.1.
Google documents 11 score levels from 0.0 to 1.0, but without a billing account only four are returned: 0.1, 0.3, 0.7 and 0.9. Reason codes also require a billing account. That is why an Enterprise score of exactly 0.1 or 0.3 is so common: there is nothing in between.
| Code | Field | Meaning according to Google |
|---|---|---|
| AUTOMATION | riskAnalysis.reasons | The interaction matches the behaviour of an automated agent |
| UNEXPECTED_ENVIRONMENT | riskAnalysis.reasons | The event originated from an illegitimate environment |
| TOO_MUCH_TRAFFIC | riskAnalysis.reasons | Traffic volume from the event source is higher than normal |
| UNEXPECTED_USAGE_PATTERNS | riskAnalysis.reasons | The interaction was significantly different from expected patterns |
| LOW_CONFIDENCE_SCORE | riskAnalysis.reasons | Too little traffic received from this site to generate quality risk analysis |
| EXPIRED / DUPE | tokenProperties.invalidReason | Token expired / already seen (closest v3 code: timeout-or-duplicate) |
| MALFORMED / MISSING | tokenProperties.invalidReason | Token malformed / not present (closest v3 codes: invalid-input-response, missing-input-response) |
| UNEXPECTED_ACTION | tokenProperties.invalidReason | Action at token generation differs from expectedAction |
| KEY_MISMATCH / DOMAIN_MISMATCH | tokenProperties.invalidReason | Token made with another key / on a domain not allowed for the key |
| BROWSER_ERROR | tokenProperties.invalidReason | A retriable error, such as a network failure, occurred in the browser |
Sources: Google Cloud "Interpret assessments for websites", "Create assessments for websites" and the projects.assessments REST reference.
{
"tokenProperties": {
"valid": true,
"invalidReason": "INVALID_REASON_UNSPECIFIED",
"hostname": "www.example.com",
"action": "login",
"createTime": "2026-11-30T10:15:02Z"
},
"riskAnalysis": {
"score": 0.1,
"reasons": ["AUTOMATION"]
}
}Why do real users get a low reCAPTCHA v3 score?
When genuine visitors score 0.1 or 0.3, the cause is usually your setup or your traffic, not the visitors. Google does not publish the signals behind the score, so the list below marks what Google documents and what site owners commonly observe.
- New key, little traffic (documented). reCAPTCHA learns from real traffic on your site, and Enterprise names the state: LOW_CONFIDENCE_SCORE means too little traffic has been received to generate a quality risk analysis. Give a new key data before enforcing a strict threshold.
- Testing on localhost or staging (documented). Localhost is not supported by default, and Google's FAQ warns that v3 scores in testing may not be accurate because v3 relies on seeing real traffic. Google recommends a separate key for testing environments, so a 0.1 in staging says little about production.
- execute() called only on page load (documented). Google tells you to call execute when the user takes the action rather than on page load. A page-load token also expires after two minutes, which turns slow form fills into timeout-or-duplicate.
- Suspicious or shared IP addresses (partly documented). Google's FAQ acknowledges that good users can be affected when their internet provider has recently assigned them a suspicious IP address. VPN exits, corporate gateways and cloud hosts are shared by many clients, and site owners often report lower scores from them.
- Privacy browsers and blockers (observed). Browsers and extensions that block third-party cookies, tracking scripts or Google domains leave reCAPTCHA less to work with, and owners regularly report lower scores for these visitors. If api.js is blocked completely, you get missing-input-response instead of a score.
- Only the final submit is protected (documented advice). Google recommends including reCAPTCHA on forms and actions as well as in the background of pages for analytics. Running it only on the last request leaves you less data in the admin console to tune from.
Why does automated traffic get a 0.1 score?
For scripts, a 0.1 is reCAPTCHA doing its job. Enterprise makes this explicit with reason codes: AUTOMATION, UNEXPECTED_ENVIRONMENT and TOO_MUCH_TRAFFIC. Google does not document the individual signals, but these are the usual culprits in practice:
- Headless or instrumented browsers. Default Puppeteer, Playwright and Selenium setups expose automation flags and inconsistent browser properties.
- Datacenter IP addresses. Cloud and hosting ranges carry many automated clients, and requests from them tend to score lower than residential connections.
- No history. A fresh browser profile without existing Google cookies has nothing to vouch for it.
- Volume from one source. Many requests from one IP or profile is exactly what TOO_MUCH_TRAFFIC describes.
- Reused tokens are a different failure. They do not lower the score; they fail outright with timeout-or-duplicate (Enterprise: EXPIRED or DUPE), because each token can be verified only once. Replaying a token captured in a real browser does not work.
How to fix a low reCAPTCHA v3 score on your own site
Work through this list in order. The first four items fix most integrations without touching the threshold.
- Log before you enforce: record success, score, action, hostname and error-codes for every request, then set the threshold per action from real data. Google's 0.5 is a starting point, not a rule.
- Check action and hostname on every request and reject mismatches whatever the score.
- Call execute() at submit time, once per protected request, so the token is fresh.
- Verify each token exactly once, server-side, and stop retries or middleware from verifying it again.
- Use separate keys for development and production, and allow localhost only on the development key.
- Handle low scores with a second step (email code, SMS, 2FA, manual review) instead of a hard block, in line with Google's advice to act behind the scenes.
- Behind a CDN or load balancer, pass the real visitor IP, not your proxy's, in remoteip (siteverify, optional) or userIpAddress (Enterprise).
- On Enterprise, read riskAnalysis.reasons before tuning: LOW_CONFIDENCE_SCORE means wait for traffic, AUTOMATION means the threshold is working. A billing account unlocks all 11 score levels and the reason codes.
Testing your own forms: authorised automation with a solver API
End-to-end tests, uptime checks and synthetic monitoring of your own login or checkout flow run in exactly the environment reCAPTCHA scores lowest: headless browsers on cloud IPs. For development, use a separate test key as Google recommends. When you need to exercise the real production key, for example to confirm that the live login form still accepts valid users after a deploy, you need a real token for your site key, action and domain.
NSLSolver provides that through one REST call. POST type "recaptchav3" with your site_key, the page url, the action and a proxy to https://api.nslsolver.com/solve, and add "enterprise": true when the page loads enterprise.js. NSLSolver executes the reCAPTCHA flow against that action and domain and returns a token; submit it once, within two minutes, through the same proxy. reCAPTCHA v3 and Enterprise cost $1.00 per 1,000 solves, only successful solves are billed, and sign-ups with Google, Gmail or Proton get $0.10 of free credit (about 125 Turnstile solves).
No solver can promise a particular score, and your backend still applies its own threshold, so log what siteverify returns for these test tokens. Only automate sites you own or are explicitly authorised to test: reCAPTCHA protects real accounts and payments.
# Synthetic monitoring of YOUR OWN login form protected by reCAPTCHA v3.
import os
import requests
API_KEY = os.environ["NSLSOLVER_API_KEY"]
PROXY = "http://user:pass@host:port" # solve and submit from the same exit IP
PAGE_URL = "https://www.your-site.com/login" # a page you own or may test
SITE_KEY = "6Lc..." # the render= value of api.js / enterprise.js
ACTION = "login" # must equal the action your backend expects
def get_token(enterprise: bool = False) -> str:
payload = {
"type": "recaptchav3",
"site_key": SITE_KEY,
"url": PAGE_URL,
"action": ACTION,
"proxy": PROXY,
}
if enterprise:
payload["enterprise"] = True # the page loads recaptcha/enterprise.js
resp = requests.post(
"https://api.nslsolver.com/solve",
headers={"X-API-Key": API_KEY},
json=payload,
timeout=120,
)
data = resp.json()
if resp.status_code != 200 or data.get("success") is False:
raise RuntimeError(f"Solve failed ({resp.status_code}): {data.get('error')}")
return data["token"]
# One fresh token per check, used once and within two minutes.
token = get_token()
session = requests.Session()
session.proxies = {"http": PROXY, "https": PROXY}
r = session.post(
PAGE_URL,
data={
"email": "monitor@your-site.com",
"password": os.environ["MONITOR_PASSWORD"],
"g-recaptcha-response": token, # or the field name your frontend uses
},
timeout=30,
)
print(r.status_code) # then check your server log for the score siteverify returnedRelated guides
- reCAPTCHA v3 solver API: request format, Enterprise support and pricing.
- Solve reCAPTCHA v3 and Enterprise in Python: finding the site key and action, with full Python and Node.js code.
- Pricing: per-1,000 prices for every supported protection.
- Types of CAPTCHA: where score-based reCAPTCHA v3 fits among the other CAPTCHA types.