1 Answer
- Newest
- Most votes
- Most comments
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.
Relevant content
- asked 3 months ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Do you have any query furthermore, happy to assist.