Juan Roa
Juan Roa

Reputation: 65

WhatsApp template name does not exist in the translation

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.

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"
                    }
                ]
            }
        ]
    }
}

Upvotes: 6

Views: 10905

Answers (8)

Carlos Mendez Comas
Carlos Mendez Comas

Reputation: 51

I was facing the same problem. en_US language works fine. My template is in another language, approved by Meta for the test given telephone number. I thought the issue should be for the demo telephone number was tight to the English (en_US) language. I made some test and it worked fine. There must be a delay in the platform. It works fine for testing and my custom number now.

In conclusion:

  1. Make sure you are using the correct telephone number with the template.
  2. Make sure the template name is correct

Upvotes: 0

SuRao
SuRao

Reputation: 69

Check the language. There are 3 english (en, en_US, en_UK). Make sure you use the right one!

Upvotes: 0

akilavikum
akilavikum

Reputation: 1

enter image description here

I also got same error . in my case it was lack of permission. when i added the template permission to the system user it worked.

Upvotes: -1

yernarun
yernarun

Reputation: 336

if you used twilio console to create those templates, just duplicate them and delete old ones. For me the problem was that I have added a new phone number and deleted the old one. I think templates where associated to the old number. But duplicating templates associated them with the new the number.

Upvotes: 1

Carlos Noé
Carlos Noé

Reputation: 351

I HAVE THE ANSWER!!!

To manage message templates in WhatsApp Business via the Meta for Developers panel, follow these steps:

  1. Accessing the Configuration Panel:

Go to the applications panel and select "WhatsApp" under "Products". Click on "Quick Start" to access the main configuration settings of WhatsApp Business.

access the main configuration settings of WhatsApp Business

  1. Reviewing the Main Business Account:

In the WhatsApp configuration panel, select "Account Information". Here you will see specific details of your main business account, which by default is "Test Business". Within "Test Business", you can review the associated WhatsApp Business Account IDs, each with their own phone numbers and templates.

Test Business

  1. Managing WhatsApp Business Account IDs:

Each WhatsApp Business Account ID can have one or several associated phone numbers. By clicking on a specific number, you can view and manage the templates associated with that number. Use the dropdown menu or navigation button to move between different WhatsApp Business accounts.

enter image description here

  1. Creating and Managing Message Templates:

From the "Manage Templates" interface in the panel, select or create templates ensuring they are linked to the correct number and WhatsApp Business Account ID. To send messages using these templates, ensure that the templates are linked to the correct phone number and that this number is under the appropriate WhatsApp Business Account ID.

enter image description here

enter image description here

Additional Notes:

Message templates must be approved by WhatsApp before they can be used. Ensure to follow WhatsApp's format and content guidelines to avoid template rejection. This approach allows you to effectively manage multiple WhatsApp Business Account IDs under a single business account and ensure that message templates are correctly configured and associated with the appropriate phone number.

Upvotes: 3

Codigo0
Codigo0

Reputation: 21

I also had the same problem, when I reviewed my template I realized that there are different types of Spanish and the correct one must be placed. In my case, it was Spanish from Mexico and when I placed only “es” it gave me an error, then I changed it to "code ": "es_MX" and it worked perfectly. The language that we have assigned must be reviewed in the template and we must place it exactly within the code so that it works well.

I found the supported languages from this link: https://support.wati.io/l/es/article/8qf6ekwd88-cu-les-son-los-idiomas-admitidos-para-la-actualizaci-n-de-plantillas

If a template says that it cannot be found, in my case it was because I had a text type variable that I needed to place in parameters, you must place the exact variables that you made from your template and be sure that your token, phone number and url are correct and your token has not expired in the testing case

I hope it will be you useful.

Upvotes: 2

M Tanusri
M Tanusri

Reputation: 31

WhatsApp template name does not exist in the translation had the same problem and what mistake i was doing all the time was not changing the whatsapp number id and thats why is was always showing not found not found.

just make sure to change the

  1. whatsapp phone number id
  2. refresh the token
  3. use "NAMESPACE" value its optional but helps

Upvotes: 2

Izlia
Izlia

Reputation: 362

I don't know if this will help anyone, but the problem for me was that I was trying to send a template that was not part of the number I was using in the WhatsApp Cloud API.

Therefore, if it did not exist in that number, it did not exist in the translation. When I used the number that the template had set, it worked.

I share the documentation about the templates so you can read more about this:

Templates

Upvotes: 5

Related Questions