Skip to content

Text message error (Invalid phone number)

0

My phone number is correct but getting Invalid phone number error for some of the numbers. Need help on this

asked 2 years ago564 views
2 Answers
0

Would help if you could provide more context on what service you are using and what you have tried.

General, troubleshooting -- make sure that you are fitting the format of the field and including the correct country code.

Assuming a bit that you are working with PinPoint, make sure that the country your number is in is supported.
https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html

Hope this helps!

AWS
EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
  • Thanks iBehr for replying I am using Text messaging service under SNS in tokyo region. And I get sometimes Invalid phone number error for a specific number Previously messages were being sent to same number without issues

0

Hello,

You can also use Phone Number Validate command to validate the number

it returns the following information:

- The phone number in E.164 format.
- The phone number type (such as mobile, landline, or VoIP).
- The city and country where the phone number is based.
- The service provider that's associated with the phone number. 

[+] https://docs.aws.amazon.com/pinpoint/latest/developerguide/validate-phone-numbers.html
[+] https://docs.aws.amazon.com/pinpoint/latest/apireference/phone-number-validate.html

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.