# 21606: 'From' number is not a valid message-capable Twilio number for this account

Log Type: APPLICATION

Log Level: ERROR

## Description

You can send SMS messages only from a sender that your account can use for messaging. Valid senders include an SMS-capable Twilio phone number, a Twilio-hosted or ported number after provisioning completes, a supported Alphanumeric Sender ID, or a short code. If you send from a short code, the destination must be in the same country as that short code.

### Possible causes

* The `From` value is not a Twilio sender on the account or subaccount that made the API request.
* The sender is not SMS-capable, or its porting or hosting process is not complete yet.
* The `From` phone number is not formatted in `E.164`.
* The sender is a short code and the `To` number is in a different country.
* The sender is an Alphanumeric Sender ID for a country that does not support it, or for a country that requires preregistration that is not complete.
* You are using test credentials and a live `From` number instead of a supported test number.

### Possible solutions

* Confirm in Console that the sender belongs to the same account or subaccount whose credentials you used, and that the sender has SMS capability.
* Format the `From` phone number in `E.164`, for example `+14155552671`.
* If you use a short code, send only to recipients in the same country as that short code.
* If you use an Alphanumeric Sender ID, send only to supported countries and complete sender registration where required.
* If you recently ported or hosted the number, wait until Twilio finishes provisioning the sender before you send messages from it.
* If you test the Messages API with test credentials, use `+15005550006` as the `From` number.

#### Additional resources

* [Phone Numbers](/docs/phone-numbers)
* [Alphanumeric Sender ID](/docs/glossary/what-alphanumeric-sender-id)
* [Test Credentials](/docs/iam/test-credentials)
