ENUM

UpdateUserErrorCode

The possible error codes returned from updating a user.

link GraphQL Schema definition

1enum UpdateUserErrorCode {
2
3# User is not authorized to update this user.
4AUTH_FAILURE
5
6# Too many attempts to update user.
7REQUESTS_THROTTLED
8
9# User cannot be found.
10USER_NOT_FOUND
11
12# Sudo token expired, prompt the user to log in again.
13REAUTH_NEEDED
14
15# Display name not available.
16DISPLAY_NAME_NOT_AVAILABLE
17
18# Display name is too short.
19DISPLAY_NAME_TOO_SHORT
20
21# Display name is too long.
22DISPLAY_NAME_TOO_LONG
23
24# Display name contains invalid characters.
25INVALID_CHARS_IN_DISPLAY_NAME
26
27# User is not allowed to change their display name again.
28DISPLAY_NAME_CHANGE_AGAIN
29
30# User can only change the capitalization of their display name.
31DISPLAY_NAME_ONLY_CAP
32
33# Unexpected error during displayname override.
34DISPLAY_NAME_UNEXPECTED_ERR
35
36# The login you selected is not available.
37LOGIN_NOT_AVAILABLE
38
39# The login you selected is not yet available for re-use.
40LOGIN_BLOCKED
41
42# Login change rate limited.
43NOT_ALLOWED_TO_CHANGE_LOGIN
44
45# The login you selected is too short.
46LOGIN_TOO_SHORT
47
48# The login you selected is too long.
49LOGIN_TOO_LONG
50
51# The login you selected contains invalid characters.
52INVALID_CHARS_IN_LOGIN
53
54# Login contains banned words.
55LOGIN_USE_BANNED_WORDS
56
57# Login contains variations on banned words.
58LOGIN_USE_VARIATION_ON_BANNED_WORDS
59
60# User exists but was excluded by filter criteria.
61FILTERED_USER_REQUESTED
62
63# The IP is blocked.
64IP_BLOCKED
65
66# Too many users associated with the email.
67TOO_MANY_USERS_FOR_EMAIL
68
69# Email disabled for reuse.
70EMAIL_DISABLED_FOR_REUSE
71
72# Email address is not valid.
73INVALID_EMAIL
74
75# Admins must use their work email.
76WORK_EMAIL_REQUIRED
77
78# Email address uses an invalid domain.
79INVALID_EMAIL_DOMAIN
80
81# Email change cooldown.
82NOT_ALLOWED_TO_CHANGE_EMAIL
83
84# Phone number is invalid.
85PHONE_NUMBER_INVALID
86
87# Phone number cannot contain letters.
88PHONE_NUMBER_HAS_LETTERS
89
90# Description contains banned words.
91DESCRIPTION_FAILED_MODERATION
92
93# Description field is too long.
94DESCRIPTION_TOO_LONG
95
96# No properties found for this user identifier.
97NO_PROPERTIES
98
99# Reservation does not exist in db.
100RESERVATION_NOT_EXITS
101
102# The specified locale is invalid.
103LANGUAGE_NOT_VALID
104
105# Age cannot be under 13 years.
106INVALID_BIRTHDAY
107
108# Last Login doesn't follow format "%Y-%m-%d %H:%M:%S".
109INVALID_LAST_LOGIN
110
111# Phone number or email update cannot be combined with delete pohone number.
112INVALID_PARAMETER_COMBINATION
113
114# Phone number can only be removed for an account with a verifed email.
115NOT_ALLOWED_TO_DELETE_PHONE_NUMBER
116
117# Phone number already exists.
118PHONE_NUMBER_ALREADY_EXISTS
119
120# Hex color is not valid.
121INVALID_HEX_COLOR
122
123# Unknown error.
124UNKNOWN
125}