Build a turn-based game with Amazon DynamoDB and Amazon SNS - UK telephone number problem.
Hi all
I started doing the above lab and have came across an issue and I'm not sure if its me or this is a problem. Of this lab I'm on module 3 which is set up notifications, you need to copy a line of code, edit it to have your own country code and your own telephone number. This is the code -
echo "export PHONE_NUMBER=+15555555555" >> env.sh && source env.sh
I won't include my telephone number but being based in the UK mine looks something like this -
echo "export PHONE_NUMBER=+4407983655512" >> env.sh && source env.sh
I have also tried -
echo "export PHONE_NUMBER=+447983655512" >> env.sh && source env.sh
None of the above worked when you add the next line of code which is to send a message, the interface tells me "sent message successfully" but I haven't received anything. I'm thinking I may need to go back a few steps and change the region to one in the UK but I think that would be a stretch otherwise it wouldn't be asking for the international code.
Hope someone can help
Thanks
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
Relevant questions
How do I access dynamodb(or lambda) from a real-time server?
Accepted Answerasked 3 years agoAmazon Connect and Salesforce screen pop
asked 6 months agoCan matchmaking event notifications of type PotentialMatchCreated and AcceptMatchCompleted be sent after those of type MatchmakingSucceeded?
Accepted Answerasked 2 years agoA question and an issue about Sumerian
asked 6 months agoSES/SNS: events is not being dispatched, except by Bounce
Accepted Answerasked a month agoBuild a turn-based game with Amazon DynamoDB and Amazon SNS - UK telephone number problem.
asked a month agoMember must have length less than or equal to 10
asked 2 years agoDo we need VPC Endpoints for SNS and SQS if data not originating from any VPC and directly landing in SNS from external source
asked 5 months agoWhat are the pros/cons and use cases of using EventBridge, Lambda with queues, and SNS for event-driven architectures?
Accepted Answerasked 2 years agoOne phone number for Amazon Connect AND Pinpoint
Accepted Answerasked 6 months 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.