Error Guide

Error: Twilio Error 21211

What's Causing This Error?

Invalid "To" Phone Number error, or the error 21211, is an error occurring when the number you supplied when attempting an outbound call is incorrectly formatted or invalid. Another cause for this error is that you tried to call or send a message from a certain Twilio number to itself.

Solution - Here's How To Resolve It

To solve this issue, ensure the phone number is in the E.164 format and the correct country calling code is applied to the number you are trying to reach as given below.

[+] [country code] [subscriber number including area code]

Make sure the caller and callee are two different numbers, and you are not attempting to place a call to the same Twilio number.

Other Common Twilio Errors (and Solutions)

View all errors

Multichannel Notifications Platform for SaaS

Products

Platform

Integrations

Customers

Blog

API Status

Subprocessors


© 2026 Courier. All rights reserved.