Skip to main content

Error code: "From is not a Twilio phone number or Short Code country mismatch"

Updated over a week ago

When sending SMS via Twilio in Glide, you may see the error:

From is not a Twilio phone number or Short Code country mismatch

This means that the From number you’re trying to use is not valid for sending SMS with Twilio.

Why this happens

You can only send SMS messages from a phone number, Alphanumeric Sender ID, or short code that has been provided by (or ported into) Twilio.

For Short Codes, Twilio requires that the From number must be in the same country as the To number.

Possible Causes

  • The number you are using is still in the process of porting/hosting.

  • You have provided an incorrect From number.

  • The number is formatted incorrectly. Twilio only accepts numbers in E.164 format.

  • If you’re using a Short Code, it must be associated with the same country as the destination address.

What is E.164 format?

E.164 is the international telephone numbering standard that ensures every device on the Public Switched Telephone Network (PSTN) has a globally unique number. For example:

  • US: +14155552671

  • UK: +447911123456

Next Steps

  1. Verify that your From number is a Twilio-provided number, short code, or Alphanumeric Sender ID.

  2. Make sure the number is in the correct E.164 format.

  3. If using a Short Code, confirm that it is valid in the same country as the recipient’s number.

  4. If the number is being ported/hosted, wait until the process is complete.

For further details, please check Twilio’s official documentation:
https://www.twilio.com/docs/api/errors/21659

Did this answer your question?