Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now


Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Error 21212

ERROR - 21212

Invalid 'From' Phone Number (caller ID)

You attempted to initiate an outbound phone call or message, but the 'From' parameter you supplied was not a valid phone number or alphanumeric sender ID.

Possible Causes

Twilio accepts phone numbers in E.164 format (i.e. "+1 format"), 10-digit US and Canadian numbers with any combination of non-digit separators, or up to 11 alphanumeric characters [a-zA-Z0-9]. The number must not be on the do-not-originate (DNO) list.

Possible Solutions

Inspect the 'From' number


Rate this page: