106

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.

2

5 Answers 5

237
Answer recommended by Twilio Collective

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.

11
  • 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
    Commented Nov 23, 2017 at 3: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?
    – AiVision
    Commented May 31, 2018 at 12:00
  • @Shailesh If you're unable to check that, then please get in touch with Twilio support who will be able to help you out.
    – philnash
    Commented Jun 4, 2018 at 20:36
  • As you said, i requested to Twilio support and now i am able to use Indian number also.Thanks.
    – AiVision
    Commented Jun 5, 2018 at 5: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
    Commented Oct 18, 2019 at 13:41
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

18

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

2

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

1
  • Exactly. They should add the numberprefix in the code samples. Thanks Commented Oct 5, 2023 at 14:39
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.

1

Not the answer you're looking for? Browse other questions tagged or ask your own question.