FirebaseAuthError.insufficientPermission constructor

FirebaseAuthError.insufficientPermission([
  1. String? message
])

The credential used to initialize the Admin SDK has insufficient permission to access the requested Authentication resource.

Refer to Set up a Firebase project for documentation on how to generate a credential with appropriate permissions and use it to authenticate the Admin SDKs.

Implementation

FirebaseAuthError.insufficientPermission([String? message])
    : this(
          'insufficient-permission',
          message ??
              'Credential implementation provided to initializeApp() via the '
                  '"credential" property has insufficient permission to '
                  'access the requested resource. See '
                  'https://firebase.google.com/docs/admin/setup for details '
                  'on how to authenticate this SDK with appropriate '
                  'permissions.');