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

Keep getting Invalid phone number error #61

Closed
DrSayre opened this issue Dec 23, 2015 · 2 comments
Closed

Keep getting Invalid phone number error #61

DrSayre opened this issue Dec 23, 2015 · 2 comments

Comments

@DrSayre
Copy link

DrSayre commented Dec 23, 2015

I am making my request through the Advanced REST Client which is a Google Chrome app. I keep getting this as a response:

{
  "success": false,
  "message": "Invalid phone number."
}

I have seen this #45 and I am setting the content-type to be application/x-www-form-urlencoded. I have tried sending a text to both AT&T and Sprint phone.

@typpo
Copy link
Owner

typpo commented Dec 24, 2015

Most likely it's not reading any phone number. Make sure you are (1) sending a POST request, and (2) POSTing query params and not JSON.

@DrSayre
Copy link
Author

DrSayre commented Dec 24, 2015

That's what it was, thanks!

@DrSayre DrSayre closed this as completed Dec 24, 2015
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