WhatsApp Business Cloud: Error with the Send Template Module

Hi everyone:

When trying to send a module with a template with a flow I am getting the following error:

RuntimeError
[400] [131009]
(#131009) Parameter value is not valid
Components sub_type invalid at index: 0

Origin
WhatsApp Business Cloud

If I send the template from the terminal using CURL I can send it without problems, so I know that the template is well configured.
The error I get seems to come from the subtype component of the request, which from CURL I mark as ‘flow’ and it seems that the MAKE module does it otherwise.
Is there any way to fix it, is it known if they are going to update that module?

Thank you very much,

A.

Welcome to the Make community!

To allow others to assist you with your scenario, please provide the following:

Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and relevant filter settings. It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Output Bundles of Modules

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

By providing these details, it will allow others to assist you better.

Hi all,

I have already solved this with a custom HTTP Make Request module to send the template with a flow inside it.
It is the only way I could figure out around it.

If anyone face the same issue just text me and I will be happy to help.

Best,
A

1 Like

Hi, I´m having the same issue, and I think the problem is that the module “Send a Template Message” in Make is lacking a field to include the variable {{name}} for the template. As this variable is mandatory in the template, this module doesn´t work.

Could you please explain how you solved the issue with the custom HTTP Make Request?

EDIT: it seems someone wrote an article explaining how to solve this (what a great community!): Solved error RuntimeError [400] [131008] in make.com for WhatsApp Flow - Daniel Amorós

1 Like

Hi Victor, let me know if the article works for you.
If not, I will explain how to solve the issue.

Thank you,
A

I´m trying to follow the steps of the article, but I realised it talks about whatsapp flows, and while it uses whatsapp templates I think it´s a bit different, because I can´t figure out how to pass a parameter (my whatsapp template is “hey {{name}}, thank you for contacting us…”), so I am getting the same error after implementing the HTTP request, could you share how you did it? Do you pass a parameter to your template?