Unable to deliver TEXT message from sns console aws

不羁岁月 提交于 2019-12-13 02:59:34

问题


I'm trying to send text message from SNS console from the supported region list: US East (N. Virginia),US West (Oregon) EU (Ireland) Asia Pacific (Tokyo) Asia Pacific (Singapore)

I tried with all above region but got the below response:

{
    "notification": {
        "messageId": "2deeb7d5-fc63-5353-962d-e56549411e4b",
        "timestamp": "2017-12-17 18:09:38.321"
    },
    "delivery": {
        "destination": "+919860694302",
        "smsType": "Promotional",
        "providerResponse": "Internal error",
        "dwellTimeMs": 41
    },
    "status": "FAILURE"
}

I'm using the free tier feature and i have created a new account and IAM user. I tried to find the probable cause for this issue on aws forums,but didn't get any relevant answer


回答1:


You can try sending a message via the AWS Command-Line Interface (CLI) to test the process:

aws sns publish --phone-number +91234567890 --message foo

This will help you determine whether the problem is with a particular region, a particular country or a particular recipient.



来源:https://stackoverflow.com/questions/47858093/unable-to-deliver-text-message-from-sns-console-aws

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!