Buka konsol

An authentication error. For method-specific error codes, refer to the specific methods in the documentation. For common error codes, check the reference below. Use {@link firebase.auth.Error#code} to get the specific error code. For a detailed message, use firebase.auth.Error.message. Errors with the code auth/account-exists-with-different-credential will have the additional fields email and credential which are needed to provide a way to resolve these specific errors. Refer to {@link firebase.auth.Auth.signInWithPopup} for more information.

Common Error Codes

Thrown if the instance of FirebaseApp has been deleted.
Thrown if the app identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.
Thrown if a method is called with incorrect arguments.
Thrown if the provided API key is invalid. Please check that you have copied it correctly from the Firebase Console.
Thrown if the user's credential is no longer valid. The user must sign in again.
Thrown if a network error (such as timeout, interrupted connection or unreachable host) has occurred.
Thrown if you have not enabled the provider in the Firebase Console. Go to the Firebase Console for your project, in the Auth section and the Sign in Method tab and configure the provider.
Thrown if the user's last sign-in time does not meet the security threshold. Use firebase.User.reauthenticateWithCredential to resolve. This does not apply if the user is anonymous.
Thrown if requests are blocked from a device due to unusual activity. Trying again after some delay would unblock.
Thrown if the app domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.
Thrown if the user account has been disabled by an administrator. Accounts can be enabled or disabled in the Firebase Console, the Auth section and Users subsection.
Thrown if the user's credential has expired. This could also be thrown if a user has been deleted. Prompting the user to sign in again should resolve this for either case.
Thrown if the browser does not support web storage or if the user disables them.





code: string

Unique error code.


message: string

Complete error message.