Skip to content

FIREBASE WARNING: Provided authentication credentials for the app named "[DEFAULT]" are invalid. This usually indicates your app was not initialized correctly. Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project. #810

@DMZakaria

Description

@DMZakaria

Related issues

#147

[REQUIRED] Version info

node: 14.5.0

#147

firebase-functions: 3.11.0
firebase-tools: 8.15.1

firebase-admin: 8.10.0

[REQUIRED] Steps to reproduce

import {initializeApp} from 'firebase-admin';
initializeApp(functions.config().firebase);
exports.onCreateUser= onCreateUser;

[REQUIRED] Expected behavior

Cloud functions should works as expected

[REQUIRED] Actual behavior

We had this issue suddenly, I thought it was a service outrage but it seems not , all our cloud functions are returning this warning.

image

I removed all of the cloud functions and disable the cloud API but it did not work.

Were you able to successfully deploy your functions?

Yes, the deployment works fine

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions