# 21663: 'From' phone number routing configuration is incorrect&#x20;

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when the `From` phone number's routing configuration doesn't match the Twilio Region used for the outbound Messaging API request. Twilio phone numbers are global resources, but each phone number can have a distinct configuration in each Region. If no specific routing is set, `US1` is used by default.

### Possible causes

* The `From` phone number is configured for `IE1`, but the message request was sent to the default `US1` endpoint at `api.twilio.com`.
* The `From` phone number is configured for `US1`, but the message request was sent to the `IE1` endpoint at `api.dublin.ie1.twilio.com`.
* The `From` phone number doesn't have an explicit non-`US1` routing configuration, so requests sent to `IE1` don't match the number's active routing.

### Possible solutions

* Send the message request to the endpoint that matches the `From` phone number's routing Region. Use `api.dublin.ie1.twilio.com` for `IE1` or `api.twilio.com` for `US1`.
* Review the phone number's regional configuration in Console and make sure the number is configured in the Region where you want to send Messaging traffic.
* If you use a Twilio server-side SDK, set both `edge` and `region` so the client targets the intended Region instead of falling back to `US1`.
* If the number should send traffic from a different Region, update the phone number's routing configuration before retrying the request.

#### Additional resources

* [Twilio Regions](/docs/global-infrastructure/understanding-twilio-regions)
* [Using the Twilio REST API in a non-US Region](/docs/global-infrastructure/using-the-twilio-rest-api-in-a-non-us-region)
* [Managing Regional Resources in Console](/docs/global-infrastructure/managing-regional-resources-in-console)
