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

21657: The Sender ID is invalid


ERROR: 21657

error-21657 page anchor
MESSAGING
ERROR

This error occurs when the From value in your SMS request uses a Sender ID that is not supported for the destination. Alphanumeric Sender IDs are only available in supported countries, and some destinations require registration before you can use them.

Possible causes

possible-causes page anchor
  • You used an Alphanumeric Sender ID in a destination country that does not support it.
  • The destination country requires Sender ID registration, and the sender is not registered yet.
  • The From value does not match a registered Sender ID for that country, and no default Sender ID is configured.
  • Review the SMS guidelines for the destination country and use a Sender ID that is supported there.
  • Register the Sender ID before sending to countries that require pre-registration.
  • If you send messages through a Messaging Service, configure a default Sender ID for the country so Twilio can use a compliant sender automatically.

Additional resources

additional-resources page anchor