I'm using the whatsapp api to send template messages. Currently have an approved template created for the 'es
' language (spanish), but the api returns 404 every time I try to send it to a phone number see error.
Check the templates in the whatsapp admin
This has gone on for weeks now and I have been unable to contact the facebook support team.
Error information:
The error string is: (#132001) Template name does not exist in the translation
The complete error object:
{
"error": {
"message": "(#132001) Template name does not exist in the translation",
"type": "OAuthException",
"code": 132001,
"error_data": {
"messaging_product": "whatsapp",
"details": "template name (kindo_welcome) does not exist in es"
},
"fbtrace_id": "AukZdjNY1Ahnl_NwJXLmQZx"
}
}
Request body:
{
"messaging_product": "whatsapp",
"to": "{{Recipient-Phone-Number}}",
"type": "template",
"template": {
"namespace": "kindo",
"name": "kindo_welcome",
"language": {
"code": "es"
},
"components": [
{
"type": "header",
"parameters": [
{
"type": "text",
"text": "Juan"
}
]
}
]
}
}
Something worth noting: The first template I ever created (also in spanish) is the only one that still works. No clear explanation as of why (proof)