Good day,
I am trying to use this URL from FCM to send messages:
https://fcm.googleapis.com/fcm/send
With a header of
Authorization value of **key:*Key from Firebase Console***
Content-Type: **application/json**
The body consist of this:
{
"to" : "MyKey generated",
"notification" : {
"body" : "Hey",
"title" : "Hey"
}
}
But the result i always received is this:
{
"multicast_id": 7942550122547405787,
"success": 0,
"failure": 1,
"canonical_ids": 0,
"results": [
{
"error": "MismatchSenderId"
}
]
}
The server key I got is from here:
My URL reference is the docs in FCM server.
I am testing this in Postman. Did I miss something? Thanks