I'm experiencing an issue with WhatsApp webhook messages events not being triggered, despite other webhook tests working correctly (like flows \ security \ account_alerts.
Environment:
- Using WhatsApp Business API
- Tested on Facebook's webhook test page
- Facebook app in Live mode
Problem Details:
- All webhook tests received successfully EXCEPT message webhooks
- No webhooks are triggered when:
- Sending messages from the Facebook webhook test page
- Sending messages directly to the registered WhatsApp number
Code/Configuration Attempts:
// Simplified webhook handler (example)
app.post('/webhook', (req, res) => {
const body = req.body;
console.log('Webhook received:', body);
if (body.entry && body.entry[0].changes) {
// Webhook processing logic
}
res.sendStatus(200);
});
