Hi,
I am using Firebase 4.1.2 Node.js with AWS Lambda. I am unable to do any firebase operations because of the following warning:
FIREBASE WARNING: Provided authentication credentials for the app named "[DEFAULT]" are invalid. This usually indicates your app was not initialized correctly. Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/
I have re-generated my API key and still same issue. The firebase service account
xxx@appspot.gserviceaccount.com is set to be an 'editor'.
I am initializing the app like this:
var config = {
apiKey: "AIzaXXXXXXXXXX",
authDomain: "xxx.firebaseapp.com",
databaseURL: "https://xxx.firebaseio.com",
projectId: "xxx",
storageBucket: "xxx.appspot.com"
};
firebase.initializeApp(config);
This seems like a new issue. I have not had any issues beforehand. When I search the forums it seems like people are seeing this issue for Admin SDK, but we aren't using those features.
Any ideas about what I can be doing wrong here?
Best Regards,
Prabhaav