DEV Community

Discussion on: Twilio Hackathon Help Thread

Collapse
 
brunooliveira profile image
Bruno Oliveira

Hi :)

A somewhat urgent request:
I bought a phone number from the Netherlands (country where I am) and I can send SMS for Netherlands numbers and Belgian numbers (I have a belgian number).
However, my parents (who are in Portugal) tried to use it with a portuguese number (+351 prefix) and it throws an error telling me the number doesnt have permissions?

TwilioRestException: HTTP 400 error: Unable to create record: Permission to send an SMS has not been enabled for the region indicated by the 'To' number: +351.

Any help will be very appreciated!!

Collapse
 
philnash profile image
Phil Nash

Hey Bruno,

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 all the countries you want to.

Collapse
 
brunooliveira profile image
Bruno Oliveira

Thanks Phil! I'll try to fix it! By any chance did you read my post about my app and is it a valid submission?

Thread Thread
 
philnash profile image
Phil Nash

It looks like a valid submission to me! As long as it's open source and you followed the other parts of the submission process then you're looking good.

Thread Thread
 
brunooliveira profile image
Bruno Oliveira

Awesome! Thanks

Collapse
 
brunooliveira profile image
Bruno Oliveira

Hey Phil!
I'd like to let you know that my parents successfully managed to use my web app from Portugal, and got their restaurant info via SMS, flawlessly :D As per your suggestion, just edited the geographic permissions!

Feels great to build my first deployed, location-based web app, all enabled thanks to your API, so, props :D

Thread Thread
 
philnash profile image
Phil Nash

That's awesome! I love that feeling of a job well done. Don't forget, the API was there, but you had to put everything together. Good luck in the competition!