You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/components/MDX/auth_error_codes_table.mdx
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ To supplement HTTP status codes, Supabase Auth returns a string error code which
17
17
|`email_provider_disabled`| Signups are disabled for email and password. |
18
18
|`flow_state_expired`| PKCE flow state to which the API request relates has expired. Ask the user to sign in again. |
19
19
|`flow_state_not_found`| PKCE flow state to which the API request relates no longer exists. Flow states expire after a while and are progressively cleaned up, which can cause this error. Retried requests can cause this error, as the previous request likely destroyed the flow state. Ask the user to sign in again. |
20
+
|`hook_payload_invalid_content_type`| Payload from Auth does not have a valid Content-Type header. |
20
21
|`hook_payload_over_size_limit`| Payload from Auth exceeds maximum size limit. |
21
22
|`hook_timeout`| Unable to reach hook within maximum time allocated. |
22
23
|`hook_timeout_after_retry`| Unable to reach hook after maximum number of retries. |
@@ -30,13 +31,15 @@ To supplement HTTP status codes, Supabase Auth returns a string error code which
30
31
|`mfa_factor_name_conflict`| MFA factors for a single user should not have the same friendly name. |
31
32
|`mfa_factor_not_found`| MFA factor no longer exists. |
32
33
|`mfa_ip_address_mismatch`| The enrollment process for MFA factors must begin and end with the same IP address. |
34
+
|`mfa_phone_enroll_not_enabled`| Enrollment of MFA Phone factors is disabled. |
35
+
|`mfa_phone_verify_not_enabled`| Login via Phone factors and verification of new Phone factors is disabled. |
36
+
|`mfa_totp_enroll_not_enabled`| Enrollment of MFA TOTP factors is disabled. |
37
+
|`mfa_totp_verify_not_enabled`| Login via TOTP factors and verification of new TOTP factors is disabled. |
33
38
|`mfa_verification_failed`| MFA challenge could not be verified -- wrong TOTP code. |
34
39
|`mfa_verification_rejected`| Further MFA verification is rejected. Only returned if the [MFA verification attempt hook](https://supabase.com/docs/guides/auth/auth-hooks?language=add-admin-role#hook-mfa-verification-attempt) returns a reject decision. |
35
40
|`mfa_verified_factor_exists`| Verified phone factor already exists for a user. Unenroll existing verified phone factor to continue. |
36
-
|`mfa_totp_enroll_disabled`| Enrollment of MFA TOTP factors is disabled. |
37
-
|`mfa_totp_verify_disabled`| Login via TOTP factors and verification of new TOTP factors is disabled. |
38
-
|`mfa_phone_enroll_disabled`| Enrollment of MFA Phone factors is disabled. |
39
-
|`mfa_phone_verify_disabled`| Login via Phone factors and verification of new Phone factors is disabled. |
41
+
|`mfa_web_authn_enroll_not_enabled`| Enrollment of MFA Web Authn factors is disabled. |
42
+
|`mfa_web_authn_verify_not_enabled`| Login via WebAuthn factors and verification of new WebAuthn factors is disabled. |
40
43
|`no_authorization`| This HTTP request requires an `Authorization` header, which is not provided. |
41
44
|`not_admin`| User accessing the API is not admin, i.e. the JWT does not contain a `role` claim that identifies them as an admin of the Auth server. |
42
45
|`oauth_provider_not_supported`| Using an OAuth provider which is disabled on the Auth server. |
0 commit comments