send SMS with trial twilio account

beta picture beta · Jan 18, 2015 · Viewed 32.6k times · Source

i want to try to send SMS to a cellphone in austria. i have set up a free trial twilio account to do so. however, my twilio account seems not to be capable of doing so. but i think, it should be possible to send sms with the trial account?

this is a screenshot of my twilio number where you can see that it's not capable of messaging: enter image description here

this is the exception i get, when running my python-code which tries to send the sms:

twilio.rest.exceptions.TwilioRestException: HTTP 400 error: 21606: The From phone number +43720881723 is not a valid, SMS-capable inbound phone number or short code for your account.

any idea on how i can get this running? in other words: how can i activate SMS-capability for my free twilio account? if this is possible, what are the limitations, i.e., how many free sms messages can i send?

thanks!

Answer

Patel Maimit picture Patel Maimit · Feb 21, 2017

To send SMS with trial twilio account TEST ACCOUNT SID and TEST AUTHTOKEN which is placed inside Phone Number > Tools > Test Credentials rather than ACCOUNT SID and AUTHTOKEN given by Console Dashboard > Account Summary.

Because ACCOUNT SID and AUTHTOKEN is bind after you buy the twilio number and TEST ACCOUNT SID and TEST AUTHTOKEN is bind with +15005550006.