'Whatsapp API (#132000) Number of parameters does not match the expected number of params

I created below template in Whatsapp API. And I want to set the parameter value in the API call. What is the correct payload ? I have been following the Meta docs and trying but everytime I get error. Please Help.

Template:

You order # {{1}} is received successfully.

enter image description here

I used this payload:

{
"messaging_product": "whatsapp", 
"to": "918456712349", 
"type": "template", 
"template": { 
    "name": "order_notification",
    "language": { 
        "code": "en_US" 
    }
},
"components": [
    {
        "type": "body",
        "parameters": [
            {
                "type": "text",
                "text": "135345345"
            }
        ]
    }
]
}

But I am still getting this error

{
"error": {
    "message": "(#132000) Number of parameters does not match the expected number of params",
    "type": "OAuthException",
    "code": 132000,
    "error_data": {
        "messaging_product": "whatsapp",
        "details": "body: number of localizable_params (0) does not match the expected number of params (1)"
    },
    "error_subcode": 2494002,
    "fbtrace_id": "AzPa-uWXctIcdNVu0Lf3Fic"
}

}



Solution 1:[1]

Looks like the template is expecting 1 parameter, which is not being provided.

You can look at the documentation and example here.

It includes a working example.

Solution 2:[2]

    <p> Jenny came back, and life was <i> never the same. </i></p>

Solution 3:[3]

    <p>Jenny came back, and life was <i>never the same</i></p>

Solution 4:[4]

never the same

<p>Jenny came back, and life was <em>never the same.</em></p>

as i or em tag is used to italicize any text.

Solution 5:[5]

Here is your desired code----

Jenny came back, and life was never the same

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Languré
Solution 2 Husnul Jahneer
Solution 3 derBndr
Solution 4 Fariha
Solution 5 Sadman Hasan