ENUM

LinkTwitchAccountErrorCode

Recognized error types for creating an account link.

link GraphQL Schema definition

1enum LinkTwitchAccountErrorCode {
2
3# The Amazon customer who we are trying to link is not signed in
4NOT_SIGNED_IN
5
6# The Twitch account trying to be linked is linked to another Amazon account.
7# Shouldn't happen because we unlink the Twitch account from any existing
8# accounts before linking to the new account.
9TWITCH_ACCOUNT_ALREADY_LINKED
10
11# The number of currently linked Twitch accounts to the current Amazon is greater
12# than the maximum.
13TOO_MANY_LINKS
14
15# The given auth token was either expired or did not match the current customer
16# ID.
17INVALID_TOKEN
18
19# The given account was not available to be linked at this time. Can be retried
20# based on the backoffMilliseconds field.
21ACCOUNT_UNAVAILABLE
22
23# Unknown error being returned from service.
24UNKNOWN
25
26# neither `oAuthToken` or `authToken` is provided in LinkTwitchAccountInput, must
27# provided one of them.
28NO_TOKEN_PROVIDED
29
30# his is client error(4xx) from Tails when call GetTwitchUserInfo, includes
31# invalid token error.
32INVALID_PARAMETER
33}