SMS not received from SNS

0

I am trying to send SMS messages using SNS. I've tried to send the messages using the AWS SDK and the AWS Console. I did receive it once via the sample code provided at https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html#sms_publish_sdk I've gotten production access now but I am unable to receive any messages. Have tried sending it to multiple different numbers but they are not being received. The delivery status logs show the messages were delivered but they haven't. The phone numbers are able to receive SMS messages otherwise. I am trying to send these messages to numbers globally but primarily in India. The numbers tested for are all indian phone numbers.

otaku
已提問 2 年前檢視次數 1187 次
1 個回答
0

Hi

I have used a CLI instead of AWS SDK, It is simple to use CLI here are the Command.

aws sns publish \ --message "Hello world!" \ --phone-number +1-555-555-0100

I understand that you got production access from AWS but still you are not able to send SMS to the mobile numbers ,

Issues/Assumptions:

  • The destination mobile number or carrier blocking the messages [you send you can see successful logs ]
  • You can get free US number from app and use that number for your testting
  • You can check account **Spending Limit ** increase the number because the default is 1 USD

If all above points are good for you still you have issues, You can open support ticket in AWS they will help you.

I will try to help you as best...!

Thank You GK

profile picture
專家
GK
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南