By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Amazon SNS for SMS won't send texts/fails to my mobile number

0

I am able to send text messages to other mobile numbers, but for some reason when I try to send to my phone, the SMS always fails.

There are no numbers listed for "Opted-out phone numbers (0)" shown in the console.

Our API code shows it was sent without issue:

Sent SMS messageId: c463103f-ec86-5671-aa81-4d074fa3219e; responseMetadata: AwsResponseMetadata(metadata=[AWS_REQUEST_ID, x-amzn-RequestId, Content-Length, Date, Content-Type]);

And it also fails if I try to "Publish Text Message" via the Console.

I can't see a way to note the failures in the console, it just shows counts of successes and failures.

  • Also, I am sending from the US to another US number and my phone is an iPhone.

profile picture
asked a year ago590 views
1 Answer
2
Accepted Answer

To troubleshoot mobile text message (SMS) failures in Amazon SNS, Kindly refer the below Knowledge center article which have multiple resolution steps that can be checked. First and foremost, Kindly turn on and view Amazon CloudWatch Logs for your SMS messages.

[+] https://repost.aws/knowledge-center/sns-troubleshoot-sms-message-failures

AWS
answered a year ago
profile picture
EXPERT
reviewed 6 months ago
  • Thank you. I have done this, and not it says:

    delivery.providerResponse Phone has blocked SMS

    How can I see where this phone number has blocked SMS? It is my phone number, but I don't know how to configure it to be usable for SMS. Perhaps I did a "STOP" reply to a text to show that users can opt out (they should always be able to do so), but since it's not listed anywhere I know, I can reactivate it.

    On the Amazon SNS page for "Text messaging (SMS)", the "Opted-out phone number (0)" shows "No numbers have been opted out."

  • FYI I ended up resolving this by sending the "unstop" to my SMS/Pinpoint phone number and that did restart it, though I'm not sure why it wasn't listed as an "opt out" phone number.

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.

Guidelines for Answering Questions