Closed Yash-Makwana1 closed 1 month ago
I found a few problems with this issue:
Do you have both Cloud Messaging
and Firebase Cloud Messaging
APIs enabled? See: https://stackoverflow.com/a/72659398/1526201
In the future please use StackOverflow for usage questions.
@lahirumaramba Firebase cloud messaging is already enabled no service "cloud messaging" found.
It looks like a permission issue in your project and I don't think this is a bug in the SDK. Could you try with a different Firebase project and see if you can reproduce the issue?
If that is the case, to better investigate this issue, you can file a ticket to Firebase Support https://firebase.google.com/support where you can share more information for us for debugging.
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
I am attempting to subscribe a list of FCM tokens to a topic, but I encounter the following error message:
This occurs even though the necessary permissions are configured in the Firebase project.
messaging/authentication-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.
Additional Notes: I have checked the service account's permissions and ensured it has the necessary roles to access Cloud Messaging services. Please advise if there's anything I'm missing or if there's a bug with the SDK.