MismatchsenderId: How can I send push notifications?

MismatchsenderId can happen while sending the push notifications primarily due to a conflict between the private key uploaded on MoEngage dashboard and google-services.json file in the Android project. Kindly ensure you use the private key and the json file from the same project.


Incorrect google-services.json file

Every Firebase project will have a Project ID. There are couple of things to check for correct json file.

  • This Project ID should be same in the google-services.json file that is present in your Android app.

Screenshot 2024-02-01 at 1.38.10 PM.png


Screenshot 2024-02-01 at 1.37.44 PM.png


  • Package name in your manifest file also should match the package name in the google-services.json file 

Screenshot 2024-02-01 at 2.40.20 PM.png


Incorrect private key on MoEngage Dashboard

To verify if you have uploaded the right private key, the project_id in the private key should match with the Firebase Project ID. 

You can open the private key json file in any text editor and it will have the project_id key with value as your project ID.

Screenshot 2024-02-01 at 2.37.14 PM.png


Private key is usually generated from service accounts page, don't generate a new key if you already have a key.

Was this article helpful?
12 out of 39 found this helpful

How can we improve this article?