21663: 'From' phone number routing configuration is incorrect
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.
- The
Fromphone number is configured forIE1, but the message request was sent to the defaultUS1endpoint atapi.twilio.com. - The
Fromphone number is configured forUS1, but the message request was sent to theIE1endpoint atapi.dublin.ie1.twilio.com.
- Send the message request to the endpoint that matches the
Fromphone number's Region. Useapi.dublin.ie1.twilio.comforIE1orapi.twilio.comforUS1. - 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
edgeandregionso the client targets the intended Region instead of falling back toUS1.