Skip to main content

What does SMS error 21211 mean, and how do I fix it?

Error 21211 means the number in your request is not a valid phone number or is not in international format, for example with a missing country code or an extra digit. 1Lookup's free phone list cleaner writes a whole list in international format, and its phone validation confirms each number is real for 1 credit, $0.00495 on the Starter plan.

Start a 7-day free trialNo payment today.
Phone validator result card with four checks passing for a US landline number, beside one valid number and one invalid number that is a digit short

These are the steps to fix it.

  1. Write each number with a plus sign and its country code, for example +44 for the United Kingdom, with no spaces or brackets.
  2. Check the digit count, because a missing or extra digit makes the number invalid.
  3. Make sure the number you send to is not your own sending number or a short code.
  4. Run the list through phone validation to catch numbers that look right but do not exist.

Fix the format of a whole list with our free phone list cleaner.

To check a whole list or from your own software, see the phone validation API.

To check one number from any country, use our free phone validator.

To see how the phone validation APIs compare, read our ranking of the 10 best phone validation and HLR lookup APIs.

These are the next questions buyers ask.

See all the questions answered in the help section.