Why didn't I get the Meta ads message?
Why this happens
Sometimes a message that arrives through a Click-to-WhatsApp ad — the very first message in a brand-new chat — takes longer than usual for WhatsApp to decrypt. By default, Whapi doesn't send a webhook (or show the message via the API) until decryption succeeds, so if it's delayed, it can look like the message never arrived at all.
How to fix it
If you want to be notified right away instead of waiting, enable the send_undecrypted_ad setting on your channel. With it on, you'll get an immediate webhook for that first ad message even before it's decrypted — with a placeholder text in place of the real content:
Message could not be decrypted due to an issue receiving Facebook or Instagram ad messages via WhatsAppThe same placeholder also shows up if you fetch that message via the API while it's still undecrypted.
{
"id": "FAKE1D2sampLE3xAmPl3ExAmpL",
"from_me": true,
"type": "system",
"timestamp": 1785949031,
"source": "system",
"starred": false,
"chat_id": "1234567890@s.whatsapp.net",
"from": "1234567890",
"status": "read",
"subtype": "ciphertext",
"system": {
"body": "Message could not be decrypted due to an issue receiving Facebook or Instagram ad messages via WhatsApp"
},
"from_name": "John Doe"
}PreviousTrack WhatsApp Leads from Meta Ads
NextMessages sent via the API appear narrower than messages sent directly from the phone.
Last updated