Skip to contentSkip to navigationSkip to topbar

Error Codes


Twilio SMPP API error codes indicate problems that happen during SMS message processing. These codes help you to identify and fix issues like connection errors or message rejections. At the end of a request, you'll receive an error code if something goes wrong, which helps in troubleshooting and maintaining smooth system communication. See the list of common errors below.

CodeDescription
000No error.
001Absent subscriber. The HLR responded to the SRI for SM request with an error indicating the subscriber is absent.
002Handset memory capacity exceeded. Handset has run out of free memory to store new message.
003Connection timeout.
004WebSocket connection to Twilio's signaling servers were unexpectedly ended. If this is happening consistently, there may be an issue resolving the hostname provided. If a region is being specified in Device setup, ensure it's a valid region.
005No transport available to send or receive messages.
006No error.
007Absent subscriber. The HLR responded to the SRI for SM request with an error indicating the subscriber is absent.
008Handset memory capacity exceeded. Handset has run out of free memory to store new message.
009Connection timeout.
010WebSocket connection to Twilio's signaling servers were unexpectedly ended. If this is happening consistently, there may be an issue resolving the hostname provided. If a region is being specified in Device setup, ensure it's a valid region.
011No transport available to send or receive messages.
012WebSocket connection to Twilio's signaling servers were unexpectedly ended. If this is happening consistently, there may be an issue resolving the hostname provided. If a region is being specified in Device setup, ensure it's a valid region.
013No transport available to send or receive messages.
014No error.
015Absent subscriber. The HLR responded to the SRI for SM request with an error indicating the subscriber is absent.
016Handset memory capacity exceeded. Handset has run out of free memory to store new message.
017Connection timeout.
018WebSocket connection to Twilio's signaling servers were unexpectedly ended. If this is happening consistently, there may be an issue resolving the hostname provided. If a region is being specified in device setup, ensure it's a valid region.
019No transport available to send or receive messages.
020WebSocket connection to Twilio's signaling servers were unexpectedly ended. If this is happening consistently, there may be an issue resolving the hostname provided. If a region is being specified in device setup, ensure it's a valid region.
021No transport available to send or receive messages.
047TCAP error.
049SMS discarded. This error is specific to IP-based protocols like SMPP.
050SMS window exceeded.
051SMS malformed. SMS isn't formed correctly. This error is specific to IP-based protocols like SMPP.
052SMS expired.
053Insufficient credit. The user has insufficient credit or isn't allowed to send to that destination.
054Invalid destination. Receiver isn't a valid number.
055Unable to find outbound route for this SMS.
056SMS buffered.
057Timeout waiting for response from peer.
058Throttling Error. The user has exceeded allowed message limit.
059Absent Subscriber: The message is undeliverable because the subscriber is temporarily absent, e.g. their phone is switched off, they can't be located on the network.
060Portability error: The message failed due to the ported combinations being unreachable.
061Invalid PDU format.
062ESME client error.
063Local ACL deny.
064Invalid payload length.
065Remote logic error.
066Remote logic deny.
067DCS inconsistency.
068Route error, please contact Twilio support.
069Rejected - SMSC rejected the SRI for SM request.
070PSA connection failed.
162Abort - The HLR (or some other entity in the network) aborted the SRI for SM request.
205Illegal subscriber.
206Illegal equipment.
218Screening error. Terminating IMSI blocked.
255Unknown error.
711Destination network or country is blocked. Contact Twilio customer support to unblock this network/country.
712Insufficient credits to send message.
713SMS sent and no delivery report received.
714Route loop detected.
716Flood protection. Multiple identical messages to recipient detected.
717Invalid srcAddr.
718Invalid msisdn/destAddr.
800The end user doesn't exist.
801The end user is blocked.
802The end user belongs to a network operator that doesn't allow charge.
803The end user isn't allowed to purchase premium services.
826Message body error.
828Message too long.
925Operator network failure.
928Blocked due to spam.