Fixed bug with foreign number purchasing via API
Bugfix
When an area code was provided to the API for purchasing a phone number, and that area code is associated with a country or territory outside the US (like the 345 area code for the Cayman Islands), our system was returning an unknown error. We will now handle that properly and return an error explaining that the area code is not valid.
When an area code was provided to the API for purchasing a phone number, and that area code is associated with a country or territory outside the US (like the 345 area code for the Cayman Islands), our system was returning an unknown error. We will now handle that properly and return an error explaining that the area code is not valid.