You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System version: debian (from node:carbon docker image)
Firebase SDK version: 6.4.0
Library version: 6.4.0
Firebase Product: database
Describe the problem
On my instance, I have multiple credentials downloaded from dashboard and use them to host multiple firebase apps.
// credential changes for different apps// credential is directly downloaded from dashboardconstprojectId=credential.project_id;constdatabaseURL=`https://${projectId}.firebaseio.com`;letfirebaseApp;try{firebaseApp=firebaseAdmin.app(projectId);}catch(e){firebaseApp=firebaseAdmin.initializeApp({credential: firebaseAdmin.credential.cert(credential),
databaseURL
},projectId);}// use firebaseApp to request thenconstdatabase=firebaseApp.database();
While some apps work fiine, some apps will throw warning below:
@firebase/database: FIREBASE WARNING: {\"code\":\"app/invalid-credential\",\"message\":\"Credential implementation provided to initializeApp() via the \\\"credential\\\" property failed to fetch a valid Google OAuth2 access token with the following error: \\\"Failed to parse access token response: Error: Server responded with status 400.\\\".\"}
And my requests to firebase just hang, no errors thrown, and my requests will be timed out.
Steps to reproduce:
It works on my local machine with firebase-admin, and it seems to only happen on certain apps. Since no errors actually thrown, it's really hard to debug with only 400 status response. Perhaps you guys have experienced this kind of error before and might be able to help me?
The text was updated successfully, but these errors were encountered:
Hello, I encountered this issue also, just opened one without realising you already had one. My scripts throws the exact same error only on Windows. On Mac there is no problem. I will test it now on Ubuntu and see...
Describe your environment
Describe the problem
On my instance, I have multiple credentials downloaded from dashboard and use them to host multiple firebase apps.
While some apps work fiine, some apps will throw warning below:
And my requests to firebase just hang, no errors thrown, and my requests will be timed out.
Steps to reproduce:
It works on my local machine with firebase-admin, and it seems to only happen on certain apps. Since no errors actually thrown, it's really hard to debug with only 400 status response. Perhaps you guys have experienced this kind of error before and might be able to help me?
The text was updated successfully, but these errors were encountered: