Skip to contentSkip to navigationSkip to topbar
Page tools
Looking for more inspiration?Visit the

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.
003Equipment protocol error.
004Equipment not equipped with short-message capability.
005Unknown subscriber. The IMSI is unknown in the HLR. The HLR responded to the SRI for SM request with an error indicating the subscriber is unknown.
006Illegal subscriber. The mobile station failed authentication.
007Teleservice not provisioned. Message is rejected because the recipient MS (Mobile Subscriber) has no SMS subscription.
008Illegal equipment. IMEI check failed, i.e. The IMEI is either blacklisted or not whitelisted.
009Call barred. Operator barred the MSISDN number.
010Facility not supported. VLR in the PLMN does not support MT short message service.
011Subscriber busy for MT short message.
012System failure. Task cannot be completed because of a problem in another entity.
013Data missing. Necessary parameter is not present in the primitive.
014Unexpected data value. The provided data is incorrectly formatted in the primitive.
015Unidentified subscriber. Subscriber isn't in the database, and the system can't determine whether a subscription exists.
016Absent subscriber. No paging response via MSC.
017Absent subscriber. IMSI detached.
018Absent subscriber. Roaming restriction.
020Mobile subscriber not reachable.
021Local cancel - No response for the SRI for SM request was received.
047TCAP error.
049SMS discarded. This error is specific to IP-based protocols like SMPP.
050SMS window exceeded.
051SMS malformed. SMS is not formed correctly. This error is specific to IP-based protocols like SMPP.
052SMS expired.
053Insufficient credit. The user has insufficient credit or doesn't have permission to send to the specified destination.
054Invalid destination. Receiver is not 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 unavailable, e.g. their phone is switched off or they cannot be located on the network.
060Portability error: The message failed because the ported number combinations were unreachable.
061Invalid PDU Format.
062ESME Client Error.
063Local ACL Deny.
064Invalid Payload Length.
065Remote Logic Error.
066Remote Logic Deny.
067DCS inconsistency.
068Routing error.
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, no delivery report received.
714Route loop detected.
716Flood protection – Multiple identical messages to Recipient detected.
717Invalid srcAddr.
718Invalid msisdn/destAddr.
800The end user does not exist.
801The end user is blocked.
802The end user belongs to a network operator that does not allow charge.
803The end user is not allowed to purchase premium services.
826Message body error.
828Message too long.
925Operator network failure.
928Blocked due to spam.