1 個回答
- 最新
- 最多得票
- 最多評論
2
There are couple of things that you need to setup before getting this code worked and send message.
- Do you have Origination number setup(from SNS console), if not then you need to set that up first.
- Refer Adding and verifying phone numbers in the SMS sandbox and Origination numbers for more details. Once you have origination number set up, then you can test text messaging from SNS console first.
- Once you verify this through SNS console, your code should work as well.
I understand, API call doesn't give the error when you try to attempt to send message but if you'd try doing it through SNS, there you'll get error message as something like below:
Hope this explains. Comment here if you have additional questions. Happy to help.
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
Do you have any query furthermore, happy to assist.