Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Information]Whatsapp error (#100) Invalid parameter on phone number #31

Closed
Tekkharibo opened this issue Feb 10, 2023 · 3 comments
Closed

Comments

@Tekkharibo
Copy link

Tekkharibo commented Feb 10, 2023

Hi,

Since the 2023 January 23 I can't send any message with the lib because I have the error (#100) Invalid parameter

I have found why I have this error.

The international phone number can write with two typing (French number for example)

  • +33 6 xx xx xx xx
  • 0033 6 xx xx xx xx

But the Whatsapp API, since this date don't allow the format 0033 6 xx xx xx xx

I think that was interested to add this information on the README.md

Regards

@gabrieldwight
Copy link
Owner

Hi, for the French number does it work to send a message using this format 33 6 xx xx xx xx?

Is it returning an invalid phone number under the error data property in the details property?

Regards

@Tekkharibo
Copy link
Author

Yes the format 33 6 xx xx xx xx work fine ;)

With the 0033 6 xx xx xx xx format I just have (#100) Invalid parameter and Parameter Invalid on whatsAppErrorResponse.Error.ErrorData/Details

image

Regards

@gabrieldwight
Copy link
Owner

That's fine. I will add to the readme this information where it applies to any number format with the prefix 00 before the country code will through the invalid parameter error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants