Vonage / vonage-python-sdk

Vonage Server SDK for Python. API support for Voice, SMS, WhatsApp, Verify (2FA), Video Meetings and more.
https://developer.vonage.com
Apache License 2.0
195 stars 118 forks source link

vonage.errors.ClientError: Invalid sender: The `from` parameter is invalid. (https://developer.nexmo.com/api-errors/messages#1120) #244

Closed 3awny closed 1 year ago

3awny commented 1 year ago

I am being faced with the below error in screenshot. I'm trying to send a message using the messages api - whatsapp channel.

Screen Shot 2023-02-16 at 2 50 02 PM

As per vonage documentation. The code should be correct. https://developer.vonage.com/en/messages/code-snippets/whatsapp/send-text And shouldn’t be giving the above error.

I've been facing this problem for a few days now but not able to come to a resolution. Thank you.

3awny commented 1 year ago

Please keep in mind that i did input the number correctly in the 'from' parameter. The number is without the + sign as per your documentation on vonage website.

maxkahan commented 1 year ago

Hi, can you show your code so I can try and reproduce the issue you're having?

maxkahan commented 1 year ago

Closing as no response