gabrieldwight / Whatsapp-Business-Cloud-Api-Net

This is C# wrapper of whatsapp business cloud api for .NET
MIT License
291 stars 112 forks source link

Getting error - (#131002) Invalid recipient type #1

Closed arnab77in closed 2 years ago

arnab77in commented 2 years ago

I have configured all the the parameters. I have not assigned recipient_type as it is an optional parameter and it is also set by default. can you please tell me what can be the reason

image

gabrieldwight commented 2 years ago

Hi @arnab77in, Please check if the recipient's phone number does not have the plus sign included with the country code for example if the number is +44XXXXX make sure to send the number with the country code without the plus sign. The recipient's phone number should be formatted like this 44XXXX (Country codeXXX). Also make sure the number you are sending is registered in the developer portal as a Test Number to receive WhatsApp messages from the cloud api. Let me know if that solved your issue

arnab77in commented 2 years ago

Thanks .. resoved