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

Menu

Expand
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 21631

Product: Phone Numbers

ERROR - 21631

Phone Number Requires an Address

To purchase this number you must supply the Address of the user of this phone number. Previously the IncomingPhoneNumbers API would look at your account for an appropriate address, however, you are now required to pass in an AddressSid that satisfies the requirement for the phone number. This is because Twilio needs to know which address will be operating the phone number to meet regulatory requirements for that country and type of phone number.

Possible Causes

  • No address was provided
  • No address was that satisfies the locality requirement for this phone number type.
  • Depending on the country and number type, this may be an address in the same country or same geographic area as the number being purchased.

Possible Solutions

  • Add an address that satisfies the locality requirement.
  • Contact Twilio Support.
Rate this page: