Meta API Error Codes
Error 131051
400 Bad Request
WhatsApp Error 131051: Unsupported Message Type — Cloud API Resolution
Error 131051 is triggered when the message type specified in your request payload does not match Meta Cloud API specifications or uses an invalid MIME type.
construction Step-by-Step Resolution
Recommended Fix Protocol:
Ensure your payload type matches supported values: text, image, audio, document, video, sticker, location, contacts, interactive, or template. Verify media MIME types match official Meta Cloud API specifications.
Technical Example / Code Payload:
{
"messaging_product": "whatsapp",
"to": "918779713123",
"type": "document",
"document": {
"link": "https://nydigital.co.in/assets/docs/proposal.pdf",
"caption": "Company Profile PDF"
}
}