ENUM

RegisterTwoFactorConfirmationErrorCode

The possible error enums returned while trying to confirm registeration for two factor authentication.

link GraphQL Schema definition

1enum RegisterTwoFactorConfirmationErrorCode {
2
3# The user needs to re-authenticate to perform this operation.
4REAUTH_NEEDED
5
6# The user cannot confirm two factor registration since the initial registration
7# was never started or has expired.
8REGISTRATION_NOT_STARTED
9
10# The one time password provided is invalid.
11INVALID_OTP
12
13# The one time password provided is missing.
14MISSING_OTP
15
16# The phone number provided is used for too many Twitch accounts.
17LIMIT_REACHED
18
19# The user does not have a verified email.
20EMAIL_NOT_VERIFIED
21
22# Something unexpected occured.
23UNKNOWN_ERROR
24}