---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/21663#article
headline: "21663: 'From' phone number routing configuration is incorrect "
url: https://www.twilio.com/docs/api/errors/21663
inLanguage: en
dateModified: 2026-06-24T13:36:58.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 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 regional configuration doesn't match the Twilio Region used for the outbound Messaging API request. Phone numbers are configured for `US1` 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`.

### Possible solutions

* Send the message request to the endpoint that matches the `From` phone number's 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 messages.
* 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`.

#### Additional resources

* [Twilio Regions](/docs/global-infrastructure/understanding-twilio-regions)
* [Use the Programmable Messaging API with Twilio Regions](/docs/global-infrastructure/messaging-api-with-twilio-regions)
* [Managing Regional Resources in Console](/docs/global-infrastructure/managing-regional-resources-in-console)
