> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-analytics-query-api-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MismatchsenderId: How can I send push notifications?

> Fix the MismatchSenderId error in Android push notifications by ensuring your Firebase private key and google-services.json are from the same project.

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.

<img alt="Screenshot 2024-02-01 at 1.38.10 PM.png" src="https://mintcdn.com/moengage-analytics-query-api-docs/dKEqeh2ILfSrPmB2/images/moengage_28b0cb.png?fit=max&auto=format&n=dKEqeh2ILfSrPmB2&q=85&s=af26265234c8ed8efeab98eaca24cb75" width="2464" height="1742" data-path="images/moengage_28b0cb.png" />

<img alt="Screenshot 2024-02-01 at 1.37.44 PM.png" src="https://mintcdn.com/moengage-analytics-query-api-docs/wmiIN-H-PtSrzLh0/images/moengage_795adb.png?fit=max&auto=format&n=wmiIN-H-PtSrzLh0&q=85&s=b8ddda84e5b2aecfb155ca9c4e922c7a" width="3454" height="462" data-path="images/moengage_795adb.png" />

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

<img alt="Screenshot 2024-02-01 at 2.40.20 PM.png" src="https://mintcdn.com/moengage-analytics-query-api-docs/-pkfGoVejWypw2ZS/images/moengage_5f40fd.png?fit=max&auto=format&n=-pkfGoVejWypw2ZS&q=85&s=3a35b483ec2f9de191a0b65f9a0a64a5" width="3456" height="260" data-path="images/moengage_5f40fd.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.

<img alt="Screenshot 2024-02-01 at 2.37.14 PM.png" src="https://mintcdn.com/moengage-analytics-query-api-docs/sk5g7KvtTTukvUrB/images/moengage_05c0d9.png?fit=max&auto=format&n=sk5g7KvtTTukvUrB&q=85&s=2ce85f0dc5c7a05eb9d049c4b5bec2f1" width="1464" height="614" data-path="images/moengage_05c0d9.png" />

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