> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-docs-mcp-segmentation-tool-belt.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-docs-mcp-segmentation-tool-belt/oGYWz0Yu36hXGWHT/images/moengage_28b0cb.png?fit=max&auto=format&n=oGYWz0Yu36hXGWHT&q=85&s=16f47efafe2ae6829047434b7e53262d" 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-docs-mcp-segmentation-tool-belt/q-zvATZ8tT-MzqYK/images/moengage_795adb.png?fit=max&auto=format&n=q-zvATZ8tT-MzqYK&q=85&s=ebaf0dafc5b7222dbc9667fe2d983c21" 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-docs-mcp-segmentation-tool-belt/7g13kcPZFHg_qQzB/images/moengage_5f40fd.png?fit=max&auto=format&n=7g13kcPZFHg_qQzB&q=85&s=907b9631e046c6dd28d68adf193dd3b8" 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-docs-mcp-segmentation-tool-belt/13cF0SSLXoED7ZnM/images/moengage_05c0d9.png?fit=max&auto=format&n=13cF0SSLXoED7ZnM&q=85&s=0579d41d64fecdbe906ddad293bcc3ad" 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.
