parse.com - Twilio - The From phone number xxx is not a valid, SMS-capable inbound phone -
i want use twilio verifying phone number of users registering on app. backend, have parse.
i tried send sms using test credentials, far received success message, but, didn't received sms! i've tried switch live credentials; however, received following:
{ "code": 141, "error": { "status": 400, "message": "the phone number +12025550162 not valid, sms-capable inbound phone number or short code account.", "code": 21606, "moreinfo": "https://www.twilio.com/docs/errors/21606" } }
i've tried replace "from" phone number alphanumeric sender id, didn't work too!
what should in case?
twilio developer evangelist here.
firstly, test credentials don't send messages, there test making api requests properly. note they work specific numbers , on few endpoints.
in order send sms messages twilio, need buy , use number twilio "from" number. number there doesn't though twilio number. can buy numbers twilio console.
my guess you're sending messages numbers. alphanumeric sender ids don't work in i'm afraid, can see countries support here.
finally, if you're looking verify users' numbers, have checked out authy? phone verification api, 2 factor authentication.
let me know if helps @ all.
Comments
Post a Comment