Normally our application is sending transactional SMS via us-west-2 and us-east-1. Sending limits are not exceeded. Some days ago sending transactional SMS stopped working. About 12 hours later the AWS CloudWatch logs show the error: "Unknown error attempting to reach phone". The phone numbers received SMS successfully in the past. The receivers are located in Germany. Unfortunately, the API's response code is 200 (success), even though the SMS is not sent successfully.
Very surprisingly, some SMS is sent successfully. But most SMS are resulting in the before mentioned error. Even sending transactional SMS via AWS SNS Console are not working. The green Flash-Message is indicating a success, however, no SMS is sent.
What is causing this error? Are there possibilities to detect failed SMS in our application?
Since some SMS are sent successfully but most of the SMS are resulting with the error:
Unknown error attempting to reach phone
I would strongly suggest that you contact AWS Premium Support to help you identify why SMS sent are not being delivered.
I had the same issue and I solved this way
Allow AWS Cognito send SMS messages for SMS MFA codes.
Here's an example possible values
Limit Type -> SNS Text Messaging
Fill in all of the optional fields, even if the system's url is your test environment.
Use case description -> AWS Cognito is indicating me that "To send SMS messages for verification or MFA, you must request a spending limit increase".
How do your customers opt to receive messages from you? Provide specific information about the opt-in process -> When setting up an account a user is asked to setup their Multi-factor authentication.
Please provide the message template that you plan to use to send messages to your customers -> "Your authentication code is {####}"
Region -> Select your desired region
Resource Type -> General Limits
Limit name -> Exit SMS Sandbox
New limit value -> 1000 (that means 1000 USD/month)
AWS Documentation for this step
Text messaging preferences panelDelivery status logging, create or select and existing Role.AWS Documentation for this step
You need an AWS limit increase and also configure SNS correctly.