Troubleshooting the SMS channel - Amazon Pinpoint

Troubleshooting the SMS channel

Verify that logging is turned on to assist in identifying the cause of failure. For more information, see Monitoring and logging. To turn on logging for AWS End User Messaging SMS and Voice v2 API, see How do I set up logging for Amazon Pinpoint voice messages for Amazon Pinpoint SMS and Voice v2 API?.

SMS delivery failures

Issues and solutions
  • Confirm that the number is valid using the Amazon Pinpoint number validator. SMS delivery is only supported for ‘MOBILE’ phoneType. SMS delivery to ‘VOIP’ numbers is attempted on a best effort.

  • Confirm that your monthly SMS spend quota isn't depleted. For more information see Monitoring SMS, MMS, and voice spending activity in the AWS End User Messaging SMS User Guide.

  • If the delivery issue is limited to one or two devices, then rule out device-related issues. Verify that the number(s) can receive SMS outside of Amazon Pinpoint at the time of the failure.

  • Turn on SMS event logging to assist in identifying the cause of the failure.

  • Take note of the special requirements and regulations. See Supported countries and regions (SMS channel) in the AWS End User Messaging SMS User Guide, and confirm that these requirements are being met.

Two-way SMS troubleshooting

Two-way SMS responses are not received on either the SNS topic, subscribers, or both.

Issues and solutions
  • Verify that you have a number with two-way SMS enabled for a country where the feature is supported. See Supported countries and regions (SMS channel) and Two-way SMS messaging in the AWS End User Messaging SMS User Guide.

  • Verify that the sender number is from the same country as the two-way SMS-enabled number in Amazon Pinpoint.

  • Verify that the users' number is a valid mobile number and not a virtual number by using the Amazon Pinpoint Phone Number validator API. Communication between two virtual numbers, like the ones in Amazon Pinpoint, will be attempted at a maximum effort.

  • Review Amazon SNS CloudWatch metrics for NumberOfMessagesPublished, NumberOfNotificationsDelivered, and NumberOfNotificationsFailed to verify if the Amazon SNS topic is able to receive the inbound SMS.

    • If there are data points for NumberOfMessagesPublished at the time of the inbound SMS timestamps, then the recipient response was successfully received from downstream. Enable logging on the Amazon SNS topic for the delivery protocol being used. See Amazon SNS message delivery status.

    • If there are no data points for the NumberOfMessagesPublished metric at the time of the inbound SMS timestamps:

      • Review the Amazon SNS topic policy to confirm that it allows the Amazon Pinpoint service to publish to the Amazon SNS topic. For an example policy, see Two-way SMS messaging in the AWS End User Messaging SMS User Guide.

      • If the Amazon SNS topic linked to the two-way SMS number is encrypted: