@Almashines India I ran to a similar problem where I was not able to send the template message through the API Adding src.name resulted in successful response but not able to see the message coming on whatsapp What wrong could I be doing ? Attached an image below for reference
0
Amrita Bhatia
@Kamaljeet Sahoo try enabling template messaging in Dashboard > App > Settings if you haven't already.
Comments
13 comments
How can I specify the name of the document in a template message?
Hi Juan,
We have updated the CURL given in this FAQ.
For your direct answer, here is the payload:
Great! I will try it.
Thanks!
Hi, when i tried the CURL, it says "Mapped Bot Not Found", is there any solution with this? Thanks
Is it solved Hafizh Fauzan?
Hi
when I try to use the new template messaging API I am getting the next error:
payload: {
code: 1008,
reason: "Required parameter is missing:Missing mandatory parameter 'to'"
}
But I can't find nothing related to "to" parameter in https://www.gupshup.io/developer/docs/bot-platform/guide/whatsapp-api-documentation#templateAPIEndpoint
Thanks and I appreciate any help.
In reply to @Hafizh Fauzan,
In case of error message "Mapped Bot Not Found", try adding src.name param in curl request.
@María Citlali Hernández Escareño
Did u solve ua issue ?
if yes can u please tell, i'am dealing with similar issue
in reply to @María Citlali Hernández Escareño and @varshitha s
I get this error when I try to send templates from sandbox.
payload: {
code: 1008,
reason: "Required parameter is missing:Missing mandatory parameter 'to'"
}
But it does not appear when the application is live.
I guess the templates can't be used from sandbox.
2023 and the error:
Required parameter is missing:Missing mandatory parameter 'to'...
persist
Hi,
The problem was solved by converting list to json:
Python example:
@Almashines India
I ran to a similar problem where I was not able to send the template message through the API
Adding src.name resulted in successful response but not able to see the message coming on whatsapp
What wrong could I be doing ?
Attached an image below for reference
@Kamaljeet Sahoo try enabling template messaging in Dashboard > App > Settings if you haven't already.
Please sign in to leave a comment.