WhatsApp Cloud API error message for specific numbers

Status: Closed · Asked by kabirkhanna on · 0 views

kabirkhanna — Question ·

Hi, When I using WhatsApp cloud API to sent messages, it is giving me the following error , but strangely only on specific numbers only

Error
The response received from the WhatsApp Cloud API app is shown below:
[TABLE]
[TR]
[TD]Error Message[/TD]
[TD](#100) Invalid parameter[/TD]
[/TR]
[TR]
[TD]Error Type[/TD]
[TD]OAuthException[/TD]
[/TR]
[TR]
[TD]Error Code[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]Error Error Data Messaging Product[/TD]
[TD]whatsapp[/TD]
[/TR]
[TR]
[TD]Error Error Data Details[/TD]
[TD]Parameter Invalid[/TD]
[/TR]
[TR]
[TD]Error Error Subcode[/TD]
[TD]2494010[/TD]
[/TR]
[TR]
[TD]Error Fbtrace Id[/TD]
[TD]ARy9DzDcteff6QQvsRgbbhN[/TD]
[/TR]
[/TABLE]

I checked the input parameters and they are getting parsed correctly. ( have changed he number below intentionally, but real one is a valid number)

[TABLE]
[TR]
[TD]Api Endpoint Url[/TD]
[TD]https://connect.pabbly.com/api/whatsapp_cloud_api[/TD]
[/TR]
[TR]
[TD]Whatsapp Account Id[/TD]
[TD]101210032XXXXX[/TD]
[/TR]
[TR]
[TD]Phone No Id[/TD]
[TD]109359441XXXXX[/TD]
[/TR]
[TR]
[TD]Template Name[/TD]
[TD]abp_datadriven_dmktgcompany[/TD]
[/TR]
[TR]
[TD]Template Id[/TD]
[TD]50833721117XXXX[/TD]
[/TR]
[TR]
[TD]To[/TD]
[TD]9814012345[/TD]
[/TR]
[TR]
[TD]Language[/TD]
[TD]en[/TD]
[/TR]
[TR]
[TD]Method[/TD]
[TD]post_template[/TD]
[/TR]
[/TABLE]

Since the problem happens only on specific numbers, I am not sure what is the reason ? Anyone else faced this and has a solution ? - thanks , kabir

Pabblymember11 — Reply ·

Hey @kabirkhanna

As we can see from your error log, it seems like you are not passing the country code along with the users' phone number as mentioned in the help text.

Kindly try again by passing the phone number and let us know how it works for you.

Back to all forum threads · Log in to reply