RecaptchaStatusCodes

public final class RecaptchaStatusCodes extends CommonStatusCodes

Status codes for the reCAPTCHA API.

Constant Summary

int RECAPTCHA_2FA_ABORTED The operation was aborted.
int RECAPTCHA_2FA_ATTEMPTS_EXHAUSTED All allowed verification attempts are exhausted.
int RECAPTCHA_2FA_CHALLENGE_EXPIRED The challenge account request token has expired.
int RECAPTCHA_2FA_INVALID_PIN The verification PIN has invalid format.
int RECAPTCHA_2FA_INVALID_REQUEST_TOKEN The challenge account request token is invalid.
int RECAPTCHA_2FA_PIN_MISMATCH The verification PIN does not match the PIN sent to the challenged account.
int RECAPTCHA_2FA_UNKNOWN An internal error occurred during two factor authentication calls.
int RECAPTCHA_FEATURE_OFF reCAPTCHA feature is disabled.

Inherited Constant Summary

Inherited Method Summary

Constants

public static final int RECAPTCHA_2FA_ABORTED

The operation was aborted.

Please use the abortion token with the reCAPTCHA Enterprise server to obtain more information.

Constant Value: 36014

public static final int RECAPTCHA_2FA_ATTEMPTS_EXHAUSTED

All allowed verification attempts are exhausted.

Please restart the verification workflow by calling execute(RecaptchaHandle, RecaptchaAction) again to fetch a new reCAPTCHA token, for retrieving a new challenge token via reCAPTCHA Enterprise API CreateAssessment(), then calling challengeAccount(RecaptchaHandle, String).

Constant Value: 36010

public static final int RECAPTCHA_2FA_CHALLENGE_EXPIRED

The challenge account request token has expired.

Please obtain another request token from the reCAPTCHA Enterprise server.

Constant Value: 36006

public static final int RECAPTCHA_2FA_INVALID_PIN

The verification PIN has invalid format.

Please verify that the input PIN is of the right length and only contain numerical characters.

Constant Value: 36008

public static final int RECAPTCHA_2FA_INVALID_REQUEST_TOKEN

The challenge account request token is invalid.

Please verify that you are using the correct token obtained from the reCAPTCHA Enterprise server.

Constant Value: 36007

public static final int RECAPTCHA_2FA_PIN_MISMATCH

The verification PIN does not match the PIN sent to the challenged account.

Please try again using a new VerificationHandle.

Constant Value: 36009

public static final int RECAPTCHA_2FA_UNKNOWN

An internal error occurred during two factor authentication calls.

Please try again in a bit.

Constant Value: 36005

public static final int RECAPTCHA_FEATURE_OFF

reCAPTCHA feature is disabled.

Please check if you update Google Play Services on your phone to get our latest reCAPTCHA module code that matches to the API versions you used in the SDK in your app.

Constant Value: 36004