ENUM

UpdatePhoneNumberConfirmationErrorCode

The possible error enums returned while trying to change a users phone number.

link GraphQL Schema definition

1enum UpdatePhoneNumberConfirmationErrorCode {
2
3# The user needs to re-authenticate to perform this operation.
4REAUTH_NEEDED
5
6# Phone number was not valid.
7INVALID_PHONE_NUMBER
8
9# The phone number has requested checks on too many verification codes.
10REQUEST_THROTTLED
11
12# The phone number provided is used for too many Twitch accounts.
13LIMIT_REACHED
14
15# The one time password provided is invalid.
16INVALID_OTP
17
18# The one time password provided is missing. A SMS to the phone number will be
19# triggered when this error occurs.
20MISSING_OTP
21
22# Something unexpected occured.
23UNKNOWN_ERROR
24}