Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

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

Twilio Messaging DocumentationMessaging
Twilio Identity Access Management DocumentationIAM

Description

description page anchor

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

possible-causes page anchor
  • 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.
  • 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

additional-resources page anchor