Skip to content

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.

POST {your_webhook_url}
{
"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"
}
]
}
]
}
FieldTypeDescription
idstringPlatform message ID (msg_{uuid})
statusstring"failed"
timestampstringUnix timestamp of the failure
recipient_idstringRecipient’s phone number
errorsarrayList of error details (see table below)
conversation.idstringMeta conversation ID
conversation.origin.typestringConversation origin
pricing.billablebooleanUsually false for failed messages
FieldTypeDescription
codenumberMeta error code (see list below)
titlestringBrief error title
messagestringDetailed error description

For the root and entry fields, see the same structure as message.status.sent.

CodeCause
131026Message cannot be delivered to the recipient
131049Held back due to per-user marketing limits
130472Recipient number is in a Meta marketing experiment
131050Recipient opted out of marketing messages
131047Outside the 24-hour window, use a template
132001Template not found for this name and language
132016Template permanently disabled

See the full list in WhatsApp Error Codes.

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 failed will not receive any other status events.
  • pricing.billable usually false for failed messages, but can be true in 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.