Closed
Description
Hello,
I've upgraded to latest version of firebase-admin and got some deprecation method messages. One of them was sendAll
which is gonna be replaced with sendEach
. I checked interfaces and description provided in firebase-admin and it look same. But after switching to new sendEach
method I started to get errors like
Rejected unknown error: {\"code\":\"app/invalid-credential\",\"message\":\"Failed to determine project ID: Error while making request: getaddrinfo ENOTFOUND metadata.google.internal. Error code: ENOTFOUND\"}
- Firebase SDK version: 12.0.0
- Firebase Product: messaging
- Node.js version: 20.10.0
- NPM version: 10.2.5
What has changed? Is there different approach to authorisation or something else needed to be changed? Is there any migration guide for upgrade from v11 to v12?
Thank you