Google Cloud reCAPTCHA Enterprise v1 API - Enum TokenProperties.Types.InvalidReason (2.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicenumTokenProperties.Types.InvalidReason
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API enum TokenProperties.Types.InvalidReason.
Enum that represents the types of invalid token reasons.
Ensure that applications can handle values not explicitly listed.
A retriable error (such as network failure) occurred on the browser.
Could easily be simulated by an attacker.
DomainMismatch
The domain of the page on which the token was generated does not match
the allowed_domains configured in the site_key.
Dupe
The user verification had already been seen.
Expired
The user verification token had expired.
KeyMismatch
The key used to generate the token does not match the site_key.
Malformed
The provided user verification token was malformed.
Missing
The user verification token was not present.
UnexpectedAction
The action provided at token generation was different than
the expected_action in the assessment request. The comparison is
case-insensitive. This reason can only be returned if all of the
following are true:
your site_key has the POLICY_BASED_CHALLENGE integration type
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-18 UTC."],[],[]]