98

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.

user80126
  • 1,081
  • 1
  • 7
  • 3
  • Does this answer your question? [Twilio says I don't have permission to send to the region of my 'To' number](https://stackoverflow.com/questions/30017182/twilio-says-i-dont-have-permission-to-send-to-the-region-of-my-to-number) – DaFi4 Nov 26 '20 at 09:13

5 Answers5

230

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.

philnash
  • 70,667
  • 10
  • 60
  • 88
  • 2
    The United States was checked but that still didn't resolve my issue. Twilio Customer Support was able to resolve the problem. Thank you for your response. – user80126 Nov 23 '17 at 03:19
  • I have check in my Twilio console and my country (India) not selected. how i can check that or may i request to twilio support for this because i am unable to check? – Farmer May 31 '18 at 12:00
  • @Shailesh If you're unable to check that, then please get in touch with [Twilio support](https://www.twilio.com/help/contact) who will be able to help you out. – philnash Jun 04 '18 at 20:36
  • As you said, i requested to Twilio support and now i am able to use Indian number also.Thanks. – Farmer Jun 05 '18 at 05:26
  • @philnash I added a US number with call and SMS capability. When I go to the permissions section I am unable to checkbox any of the country. What can be the issue here? – Rajat Soni Oct 18 '19 at 13:41
  • @RajatSoni I'm afraid I don't know. I would check in with [Twilio support](https://www.twilio.com/help/contact) on that. – philnash Oct 20 '19 at 06:02
  • @philnash I did that but still get the error `[HTTP 400] Unable to create record: Permission to send an SMS has not been enabled for the region indicated by the 'To' number:` – Abdellah Ramadan Oct 07 '20 at 21:24
  • @AbdellahRamadan Have you double checked that you have set the permission for SMS and not voice? If you are still having trouble I recommend you get in touch with [Twilio support](https://www.twilio.com/help/contact). – philnash Oct 07 '20 at 22:20
  • @philnash I am not certain about which permission I am using. Can you please point where to set this permission? I enabled geographic permission but nothing. Support have not replied yet since yesterday. – Abdellah Ramadan Oct 08 '20 at 07:46
  • The Messaging Geographic Permissions here: https://www.twilio.com/console/sms/settings/geo-permissions. Ensure you have ticked the country you want to send SMS messages to. – philnash Oct 08 '20 at 10:13
  • worked for me! I did have to actually select the number FROM WHICH I am sending, not the one I am sending TO. But oh well, important that it worked! :) – Vladimir Despotovic Dec 09 '20 at 00:18
21

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

VIKAS KOHLI
  • 8,164
  • 4
  • 50
  • 61
17

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

Moddasir
  • 1,449
  • 13
  • 33
0

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.

davefrassoni
  • 306
  • 2
  • 5
  • As an update, [Verify now has geographic permissions too](https://www.twilio.com/docs/verify/preventing-toll-fraud/verify-geo-permissions). This is part of our work to help prevent [toll fraud](https://www.twilio.com/docs/verify/preventing-toll-fraud) against Twilio developers. – philnash Feb 23 '22 at 02:54
0

I was also facing the same issue but You have to add country code with ur number as well then it worked perfect

Imran Khan
  • 11
  • 2