Build a turn-based game with Amazon DynamoDB and Amazon SNS - UK telephone number problem.
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
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.
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.
How do I access dynamodb(or lambda) from a real-time server?Accepted Answerasked 3 years ago
Amazon Connect and Salesforce screen popasked 6 months ago
Can matchmaking event notifications of type PotentialMatchCreated and AcceptMatchCompleted be sent after those of type MatchmakingSucceeded?Accepted Answerasked 2 years ago
A question and an issue about Sumerianasked 6 months ago
SES/SNS: events is not being dispatched, except by BounceAccepted Answerasked a month ago
Build a turn-based game with Amazon DynamoDB and Amazon SNS - UK telephone number problem.asked a month ago
Member must have length less than or equal to 10asked 2 years ago
Do we need VPC Endpoints for SNS and SQS if data not originating from any VPC and directly landing in SNS from external sourceasked 5 months ago
What are the pros/cons and use cases of using EventBridge, Lambda with queues, and SNS for event-driven architectures?Accepted Answerasked 2 years ago
One phone number for Amazon Connect AND PinpointAccepted Answerasked 6 months ago