1 Answer
- Newest
- Most votes
- Most comments
1
It might be that your account is in the SMS sandbox for the region you're using, which means that you can only send messages to verified phone numbers.
When I tried the code from the lab, I also got "Sent message successfully" and no SMS message when using a region where my account is in the SMS sandbox. Once I either used a region where the account has production access or verified my phone number in the region, I received the message successfully.
https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html
answered a year ago
Ed, Thank you so much for responding. I apologise I never saw this sooner!
Relevant content
- Accepted Answerasked a year ago
- Accepted Answerasked 6 months ago
- asked 3 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
I'm not familiar with the lab you're referring to or the scripts that it runs, but the first place I'd look would be the CloudWatch logs (see: https://docs.aws.amazon.com/sns/latest/dg/sms_stats_cloudwatch.html). This'll help determine whether the problem is with your configuration, the lab scripts, or SNS.