FIRAuthErrorCode
enum FIRAuthErrorCode {}
Error codes used by Firebase Auth.
-
Indicates a validation error with the custom token.
Declaration
Objective-C
FIRAuthErrorCodeInvalidCustomToken = 17000
-
Indicates the service account and the API key belong to different projects.
Declaration
Objective-C
FIRAuthErrorCodeCustomTokenMismatch = 17002
-
Indicates the IDP token or requestUri is invalid.
Declaration
Objective-C
FIRAuthErrorCodeInvalidCredential = 17004
-
Indicates the user’s account is disabled on the server.
Declaration
Objective-C
FIRAuthErrorCodeUserDisabled = 17005
-
Indicates the administrator disabled sign in with the specified identity provider.
Declaration
Objective-C
FIRAuthErrorCodeOperationNotAllowed = 17006
-
Indicates the email used to attempt a sign up is already in use.
Declaration
Objective-C
FIRAuthErrorCodeEmailAlreadyInUse = 17007
-
Indicates the email is invalid.
Declaration
Objective-C
FIRAuthErrorCodeInvalidEmail = 17008
-
Indicates the user attempted sign in with a wrong password.
Declaration
Objective-C
FIRAuthErrorCodeWrongPassword = 17009
-
Indicates that too many requests were made to a server method.
Declaration
Objective-C
FIRAuthErrorCodeTooManyRequests = 17010
-
Indicates the user account was not found.
Declaration
Objective-C
FIRAuthErrorCodeUserNotFound = 17011
-
Indicates account linking is required.
Declaration
Objective-C
FIRAuthErrorCodeAccountExistsWithDifferentCredential = 17012
-
Indicates the user has attemped to change email or password more than 5 minutes after signing in.
Declaration
Objective-C
FIRAuthErrorCodeRequiresRecentLogin = 17014
-
Indicates an attempt to link a provider to which the account is already linked.
Declaration
Objective-C
FIRAuthErrorCodeProviderAlreadyLinked = 17015
-
Indicates an attempt to unlink a provider that is not linked.
Declaration
Objective-C
FIRAuthErrorCodeNoSuchProvider = 17016
-
Indicates user’s saved auth credential is invalid, the user needs to sign in again.
Declaration
Objective-C
FIRAuthErrorCodeInvalidUserToken = 17017
-
Indicates a network error occurred (such as a timeout, interrupted connection, or unreachable host). These types of errors are often recoverable with a retry. The
NSUnderlyingError
field in theNSError.userInfo
dictionary will contain the error encountered.Declaration
Objective-C
FIRAuthErrorCodeNetworkError = 17020
-
Indicates the saved token has expired, for example, the user may have changed account password on another device. The user needs to sign in again on the device that made this request.
Declaration
Objective-C
FIRAuthErrorCodeUserTokenExpired = 17021
-
Indicates an invalid API key was supplied in the request.
Declaration
Objective-C
FIRAuthErrorCodeInvalidAPIKey = 17023
-
Indicates that an attempt was made to reauthenticate with a user which is not the current