The From phone number +15005550006 is not a valid, SMS-capable inbound phone number or short code for your account
Problem
I'm using a test account and trying to test SMS but it throws- [code block] According to the doc, only number usable in From is " +15005550006" then why does it throw the error? https://www.twilio.com/docs/api/rest/test-credentials#test-sms-messages-parameters-From What else can be used in test account?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: The From phone number +15005550006 is not a valid, SMS-capable inbound phone number or short code for your account
@shahp00ja I just ran into this error myself so I'll just jump in here real quick. In order to send a test sms using the Twilio test numbers, you need to make sure you are using your test credentials. From the looks of this code it seems you may be using your actual credentials. To find your test credentials login to twilio.com and go to this link: https://www.twilio.com/user/account/developer-to
Trust Score
6 verifications
- 1
@shahp00ja I just ran into this error myself so I'll just jump in here real quic
@shahp00ja I just ran into this error myself so I'll just jump in here real quick. In order to send a test sms using the Twilio test numbers, you need to make sure you are using your test credentials. From the looks of this code it seems you may be using your actual credentials.
- 2
To find your test credentials login to twilio.com and go to this link: https://w
To find your test credentials login to twilio.com and go to this link: https://www.twilio.com/user/account/developer-tools/test-credentials
Validation
Resolved in twilio/twilio-node GitHub issue #125. Community reactions: 24 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep