message.status.failed
Sent when message delivery fails. This can happen for various reasons: the recipient’s phone number is invalid, the message violates WhatsApp policies, the template has been disabled, or the delivery timeout has been exceeded.
Payload Example
Section titled “Payload Example”{ "object": "whatsapp_business_account", "entry": [ { "id": "1234567890", "changes": [ { "value": { "messaging_product": "whatsapp", "metadata": { "display_phone_number": "6281234567890", "phone_number_id": "9876543210" }, "statuses": [ { "id": "msg_a1b2c3d4-e5f6-7890-abcd-ef1234567890", "status": "failed", "timestamp": "1717200005", "recipient_id": "6289876543210", "errors": [ { "code": 131051, "title": "Recipient not in allowed list", "message": "The recipient is not in the allowed list for the phone number." } ], "conversation": { "id": "conv_abcdef1234567890", "origin": { "type": "business_initiated" } }, "pricing": { "billable": false, "pricing_model": "CBP", "category": "business_initiated", "type": "regular" } } ] }, "field": "messages" } ] } ]}statuses[] (Status Details)
Section titled “statuses[] (Status Details)”| Field | Type | Description |
|---|---|---|
id | string | Platform message ID (msg_{uuid}) |
status | string | "failed" |
timestamp | string | Unix timestamp of the failure |
recipient_id | string | Recipient’s phone number |
errors | array | List of error details (see table below) |
conversation.id | string | Meta conversation ID |
conversation.origin.type | string | Conversation origin |
pricing.billable | boolean | Usually false for failed messages |
errors[] (Error Details)
Section titled “errors[] (Error Details)”| Field | Type | Description |
|---|---|---|
code | number | Meta error code (see list below) |
title | string | Brief error title |
message | string | Detailed error description |
For the root and entry fields, see the same structure as message.status.sent.
Common Causes of Failure
Section titled “Common Causes of Failure”| Code | Cause |
|---|---|
131026 | Message cannot be delivered to the recipient |
131049 | Held back due to per-user marketing limits |
130472 | Recipient number is in a Meta marketing experiment |
131050 | Recipient opted out of marketing messages |
131047 | Outside the 24-hour window, use a template |
132001 | Template not found for this name and language |
132016 | Template permanently disabled |
See the full list in WhatsApp Error Codes.
When Is This Event Sent?
Section titled “When Is This Event Sent?”Event message.status.failed is sent when:
- Meta returns an error when trying to send the message
- Message passes strict TTL (delivery time limit) configured in the account
- Platform sends synthetic failed webhook when worker-outbound fails to send the message to Meta
- Messages that
failedwill not receive any other status events. pricing.billableusuallyfalsefor failed messages, but can betruein some cases (for example, the message was already delivered but failed during the verification process).- If the cause of the failure is a deactivated template (error 132001/132016), the platform will automatically decommission the template and remove it from all template groups.
- See Error Codes for the complete list of error codes and handling strategies.