POST /v26.0/100000000000002/messages
{
"messaging_product": "whatsapp",
"to": "15550001234",
"type": "template",
"template": {
"name": "order_ready",
"language": { "code": "en_US" },
"components": [{
"type": "body",
"parameters": [
{ "type": "text", "text": "Mary" },
{ "type": "text", "text": "Main Street, 120" }
]
}]
}
}
Mary Smith+1 555 000 1234 no Example Shop
1 rejeitadaorder_ready en_US, 2 variáveis
Rejeitado com o erro 13200014:06
O Example Shop mandou 2 variáveis no corpo, e o order_ready espera 3. O app recebeu o erro e nada foi entregue.
body: number of localizable_params (2) does not match the expected number of params (3)
HTTP/1.1 400 Bad Request
{
"error": {
"message": "(#132000) Number of parameters
does not match the expected number of params",
"type": "OAuthException",
"code": 132000,
"fbtrace_id": "A3kQ8x…"
}
}