FCM v1 question

4,462 views
Skip to first unread message

Михайло Карпенко

unread,
Jun 16, 2023, 3:47:22 AM6/16/23
to Firebase Google Group
After switching to FCM v1, push messages stopped being sent. I always get mismatch sender id error.
I created a key for the service account, added it to the code, and when sending a message, there is still a mismatch sender id.
I tried to give this service account access rights, add the Firebase Admin SDK role, but I do not find such a role in the list of available. I also created a new, custom role where I gave all rights and also this role is not in this list https://prnt.sc/TvDMzMo4xCmg
Tell me what I might be doing wrong?

Arthur Thompson

unread,
Jun 16, 2023, 5:11:37 PM6/16/23
to fireba...@googlegroups.com
Hi Михайло,

This seems strange, changing to FCM v1 should not result in a sender ID mismatch. Mismatch sender ID indicates that the client that generated the token is associated with a different project than the one you are using to send the message. Are you using multiple projects to send messages to the same clients?

Thanks,
Arthur.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/e5201cda-1021-453d-a564-9bcf0854e1b1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages