Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WhatsApp cloud API sending old message inbound notification multiple time on my webhook

Tags:

cloud

whatsapp

I'm new in using WhatsApp cloud API, I've set up one webhook with my WhatsApp cloud API.but the problem is that after some time it sends an inbound notification of an old message again to my webhook.

like image 741
parth panchal Avatar asked Sep 12 '25 09:09

parth panchal


2 Answers

You need to return HTTP 200 status to Meta to let the app know that message has been received successfully to the webhook and served by your application so that meta will not retry to send the same message again.

Hope this helps.

like image 145
Muhammad Arsalan Younus Avatar answered Sep 15 '25 10:09

Muhammad Arsalan Younus


I will share my experience and maybe it can help some of you.

I was returning the status code 200 from my server. But Whatsapp Api Cloud still returned 15 notifications per message.

the problem was that in the past, maybe one month before. I had actived webhook messages notifications, but I didn't respond with the status 200. meanwhile I was building the sending messages backend logic. so , there were thousands of webhooks no responded with the Status code 200. So my facebook app went crazy, and when I decided to respond with the status code 200. it didn't work.

the solution was to create another facebook app. and the webhooks worked well.

like image 25
Andres Diaz Lopez Avatar answered Sep 15 '25 10:09

Andres Diaz Lopez