Error Sending FCM v1 Notification: "The notification has no target applications"

Arpit 0 Reputation points
2025-01-08T10:49:30.02+00:00

I'm using Google Firebase Cloud Messaging (FCM) v1 API to send notifications. I have configured my project with the following details:

Private Key Client Email Project ID

Response : { "message": "Error sending notification: The notification has no target applications. The notification format is gcm. Review the credentials specified in the notification hub description and the notification format.. TrackingId:5da2a253-53eb-4416-9655-80da98ea8a0b,TimeStamp:1/8/2025 8:01:16 AM +00:00" }

I am trying to send a notification to an Android device using the Firebase Cloud Messaging (FCM) v1 API. Despite configuring the private key, client email, and project ID correctly, I receive an error stating, "The notification has no target applications." I want to ensure that the notification reaches any Android device successfully. How can I resolve this issue and make sure the notification is sent to the intended devices?

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
338 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.