Twilio permission to send sms has not been enabled for the region indicated

元气小坏坏 提交于 2019-12-22 01:37:36

问题


I'm a new Twilio user and am trying to test sending an SMS using my Live credentials, purchased From number, and valid To number. I'm receiving this error: Unable to create record: Permission to send an SMS has not been enabled for the region indicated by the 'To' number

AFAIK, sending IS enabled for the United States. Is there something else that I'm missing?

Thank you.


回答1:


Twilio developer evangelist here.

What you need to do is go to your Twilio console, to the Geographic permissions for SMS section and ensure you have the permission checked for sending to the US.

Let me know if that helps.




回答2:


You can enable the region by checking the regions in Twilio Settings Twilio SMS Permission Settings

As I m facing the same issue "Permission to send an SMS has not been enabled for the region indicated by the \'To\ number", then I enabled all the regions and it worked perfectly




回答3:


If you are using it for registration process consider using their "verify" service which allows international phone numbers instead of the "programmable sms". Otherwise you have to manually enable the countries.



来源:https://stackoverflow.com/questions/47423741/twilio-permission-to-send-sms-has-not-been-enabled-for-the-region-indicated

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