Hey everyone.
Does anyone know how to solve this problem?
I do have a cloud function that triggers a notification to specific users in a collection when a document in a different collection is created.
Looking at the log everything seems to be fine, the right users are collected and I can also see the fcmTokens for those users.
Besides this error message:
An error occurred when trying to authenticate to the FCM servers. Make sure the credential used to authenticate this SDK has the proper permissions. See https://firebase.google.com/docs/admin/setup for setup instructions.
I can also see:
code: 'messaging/authentication-error', (same timestamp than the error above)
and also more message shown in the screenshot.
I'd appreciate if anyone can help with that.
Thank you. ๐
Mick