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

AWS SNS - SMS not receive to mobile at some times

0

I enable the cognito MFA with SMS method. When I testing this implementation I realized that sometimes I didn't receive the MFA token to the mobile, but at that time in AWS SNS, Text messaging (SMS) log was at success status. I was trying to send MFA code to Sri Lankan (+94) mobile number. My SNS is active in production mode.

In the Text messaging (SMS) delivery log there are two provider response, one is "Message has been accepted by phone carrier" and other one is "Message has been accepted by phone". When I got the "Message has been accepted by phone carrier", on that time I didn't receive the MFA token to my mobile.

I don't see where the problem is considering. Kindly assist to me.

asked 9 months ago614 views
1 Answer
1

To understand what is going wrong we have to understand how SMS ecosystem works in Amazon SNS.

When we publish SMS text messages to Amazon SNS, it hands over the SMS text message to a third party aggregator. This aggregator would then contact the corresponding mobile carrier to which the destination number belongs to. The destination mobile carrier would then deliver the SMS text message to the end device (mobile phone).

Depending on the status of the SMS text message, the mobile carrier would generate a status message called "Delivery Report" and send that over to the aggregator. The aggregator would in turn send that delivery report back to SNS which shows up as SNS SMS delivery status logs in your CloudWatch log group(s).

Now, the status message "Message has been accepted by phone carrier" means that the mobile carrier has successfully accepted the SMS text message from AWS via the aggregators and will attempt the SMS text delivery. This delivery status log message usually does not mean that the SMS text message has been successfully delivered to the end device.

To further troubleshoot SMS delivery issues like this, you have to engage the aggregators and the mobile carriers. To engage them, please reach out to AWS Support and provide them with the SMS message IDs from your CloudWatch log group. Please ensure that these message IDs are not older than 72 hours. This is because, majority of the telecom operators and the AWS aggregators do not hold on to message IDs and their details for more than 3 days.

AWS Support team should be able to engage the aggregators and the mobile carriers in Sri Lanka to further troubleshoot the issue.

I hope this helps.

AWS
answered 9 months ago
profile pictureAWS
EXPERT
reviewed 9 months 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.

Guidelines for Answering Questions