Problem in code

This is my first app using expo and want to add push notifications.
I followed the guide and used the push notification tool, but it’s always giving an error:

request sent to the server was malformed or contained invalid parameters

Using Postman (with the right headers) I’m getting this error:

{
“data”: {
“id”: “57fe6047-54b4-4b59-83d3-cb350acebbf6”,
“status”: “error”,
“message”: “The request sent to the server was malformed or contained invalid parameters.”,
“details”: {
“fault”: “developer”,
“fcm”: {
“httpStatus”: 404,
“response”: “\n\nNot Found\n\n<BODY BGCOLOR=”#FFFFFF" TEXT=“#000000”>\n

Not Found

\n

Error 404

\n\n\n"
}
}
}
}

Someone please help. VMate 9apps

P.S. Issue solved

Hi @7tatus,

The issue is most likely in how you’re sending the notification. I’ve seen this error before when the Push Token was incorrect, so I’d suggest ensuring you’re sending to the right one.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.