Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

21663: 'From' phone number routing configuration is incorrect


ERROR: 21663

error-21663 page anchor
MESSAGING
ERROR

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

possible-causes page anchor
  • 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.
  • 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

additional-resources page anchor