Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

63107: phone_number must be a valid E.164 formatted phone number


ERROR: 63107

error-63107 page anchor
MESSAGING
ERROR

You provided a phone_number value that Twilio could not parse as a valid E.164 phone number. Use a leading +, include the country code, and limit the number to a maximum of 15 digits.

Possible causes

possible-causes page anchor
  • The phone_number value does not start with + and a country code.
  • The phone_number value includes spaces, parentheses, hyphens, or other punctuation.
  • The phone_number value is too short, too long, or uses an invalid country code.
  • You passed a locally formatted number without converting it to E.164.
  • Reformat phone_number as E.164, for example +14155552671.
  • Remove formatting characters so the value contains only the leading +, country code, and subscriber number.
  • If you collect numbers in local format, collect the country and normalize the number before sending the request.
  • Validate the number with Twilio Lookup before sending the request. A regular expression alone cannot confirm that a phone number is valid.

Additional resources

additional-resources page anchor