DEV Community

Discussion on: Your Twilio Hackathon Updates!

Collapse
 
gabriela profile image
Gabi • Edited

Hello, I am working to create a platform where people that produce food locally can make an account using their email and phone number. I want to verify this phone nr is valid firstly and then I will want to send them a code by SMS. In order to do task nr 2, I presume I need a "virtual number" from where I will send the SMS, right?

I tried creating a number from Twilio Dashboard, and I am not allowed. Can you please give me some hints on what I am doing wrong here? Thank you :)

response message: "Trial numbers can't be provisioned to an upgraded account"

Collapse
 
philnash profile image
Phil Nash

That's weird that you can't provision a number. I don't know why you would be seeing that message. Your best bet may be to get in touch with Twilio support to try to sort that out.

On the other hand, if you want to do phone number verification you don't actually need your own number. You can use the Twilio Verify API instead.

Collapse
 
gabriela profile image
Gabi • Edited

Hi, I think this situation occurred when I first created a project in the Twilio dashboard and I didn't select it's for a hackathon AND I live in Romania, where (after documenting about this) I have 0 access to SMS API :) (Wish I had, because this enables other devs - myself included, to create integrations/apps with Twilio in products that can be used locally)

And thanks for the point, of not using my own phone nr, I did add it as an env property so it's not exposed in the code at all, but still, good to know I don't have to altogether. After I changed the type of project, I got a phone nr from the platform, but still using a real nr for SMS testing.

Thread Thread
 
philnash profile image
Phil Nash

I know that SMS numbers in Romania are not available, but you can still send messages from Twilio using an international number. So if you do need one, you can use a US number (for example) and send your messages from that.