Skip to contentSkip to navigationSkip to topbar
On this page

Message cannot be sent with the current combination of "To" and/or "From" parameters



ERROR: 21612

error-21612 page anchor
PROGRAMMABLE SMS
ERROR

Message cannot be sent with the current combination of "To" and/or "From" parameters.

Possible Causes

possible-causes page anchor

Sender ID restrictions in the destination country: Many countries limit which numbers, short-codes, and/or alphanumeric senders can be used in that region. Consult the SMS guidelines for the destination region(link takes you to an external page).

Sender ID restrictions on the destination network: Some networks do not support receiving messages from shortcodes, others might allow SMS from shortcodes but cannot receive MMS messages from shortcodes. Similar restrictions may apply to the use of longcodes from countries that do not match the destination country. Consult the SMS guidelines for the destination region(link takes you to an external page).

Alphanumeric senderIDs: If you are using an alphanumeric sender ID, the 'To' number must be in a country where alphanumeric sender IDs are supported. Certain countries require pre-registration of alphanumeric sender IDs. A list of countries where alphanumeric sender ID is supported and whether or not pre-registration is required can be found here(link takes you to an external page).

Number formatting: The format you used for the “To” or “From” number may not be formatted using the E.164 format(link takes you to an external page). Twilio standardizes numbers using the E.164 format. If the “To” or “From” number of this message were altered by Twilio in a way that you didn't expect, try re-submitting the message with E.164 formatted addresses.

Destinations where Twilio does not have connectivity: It is possible that Twilio does not yet have service with the carrier you are trying to reach. You can lookup the destination network via the lookup api(link takes you to an external page).

Consult the linked documentation for each cause. You can also try sending again with a different "To" and "From" combination.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.