Reputation: 1189
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.
Upvotes: 108
Views: 84990
Reputation: 31
I was also facing the same issue but You have to add country code with ur number as well then it worked perfect
Upvotes: 2
Reputation: 73075
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.
Upvotes: 237
Reputation: 197
You need to enable Geographic permission for the region were you want to send the sms to. You can do that here https://www.twilio.com/console/sms/settings/geo-permissions
Upvotes: 18
Reputation: 312
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.
Upvotes: 0
Reputation: 8470
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
Upvotes: 21