Skip to content

Sending SMS by Amazon SNS with valid sender id does not work "No origination identity available to send to destination number"

0

We are attempting to use it to send SMS messages through Amazon SNS, using the AWS.SNS.SMS.SenderID message attribute. However, we continue to receive the following error in CloudWatch logs: "providerResponse": "No origination identity available to send to destination number" we attempted to attach a resource policy to the Sender ID that includes Principal: { "Service": "sns.amazonaws.com" }, as suggested. However, this fails with: Validation Error Occurred - Reason="INVALID_PARAMETER" Fields="policy"

We now understand that the Sender ID resource policy does not allow the Principal field, and that access by SNS or Pinpoint must be handled internally by AWS. Can you please confirm:

Whether our sender id is registered as an origination identity in Amazon Pinpoint SMS and Voice V2

If not, can it be registered or linked manually on your side to allow use with SNS?

If any explicit resource policy is needed, what would the valid format be (given Principal is not allowed)?

This Sender ID is critical for transactional messaging via SNS. We are using region eu-west-1.

Thank you for your support.

2 Answers
4
EXPERT

answered a year ago

0

The error "No origination identity available to send to destination number" indicates that AWS SNS cannot find a valid origination identity (Sender ID, phone number, etc.) to send SMS to your destination.

Troubleshooting Steps:

  1. Verify Destination Country Supports Sender ID
  • Confirm that the destination country supports Sender ID
  • Check if registration is required for that country. Example Issues:
    • USA: Does NOT support alphanumeric Sender IDs (requires 10DLC, toll-free number or short code).
    • Ireland: Sender ID registration is required.
    • UK: Supports Sender IDs. If your Sender ID is protected by MEF then you are required to register your Sender ID.
  1. Verify Sender ID Configuration
  • In AWS Console, go to AWS End User Messaging → SMS → Configurations → Sender IDs
  • Confirm your Sender ID is:
    • Created for the corresponding country
    • Associated with the correct AWS region
    • Verify that SNS has access to your Sender ID by checking the resource policy. Select the Sender ID to view/edit its resource policy and confirm it matches the following:
{
    "Version": "2012-10-17",
    "Statement": [{
            "Effect": "Allow",
            "Principal": {
                "Service": "sns.amazonaws.com"
            },
            "Action": "sms-voice:SendTextMessage",
            "Resource": "arn:aws:sms-voice:<REGION>:<ACCOUNT-ID>:sender-id/<SENDER-ID>/<COUNTRY-CODE>",
            "Condition": {
                "StringEquals": {
                    "aws:SourceAccount": "<ACCOUNT-ID>"
                }
            }
        }
    ]
}
  1. Sender ID Registration
  • If Sender ID registration is required for the destination country, complete the registration under the Registrations tab - view a list registrations here

answered a year 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.