Errors
PHONE_COUNTRY_NOT_ALLOWED
PHONE_COUNTRY_NOT_ALLOWED
HTTP 422 · Unprocessable Entity

Only US, Canadian and Australian numbers can be imported.

What causes it

The Twilio number is not a US, Canadian or Australian number. The country comes from the number itself, not from its prefix: Puerto Rico, the other US territories and the Caribbean countries that share +1 are refused. Premium-rate and personal numbers are refused too. Nothing changed: the number was not attached to your Twilio trunk and not added to the workspace.

What to do

Import a US, Canadian or Australian number. `GET /api/phones/import` lists only numbers that can be imported.


This page documents the PHONE_COUNTRY_NOT_ALLOWED error returned by the dBel API. API errors follow RFC 9457 Problem Details: each response carries a stable code, an HTTP status, and a type URL pointing back here.