Docs

Errors

There are three kinds of error. Request errors are the HTTP answer to a REST call. Message errors say why one message failed. SMPP errors are the status of an SMPP command.

Request errors

A failed REST call returns the HTTP status and a body with error and message.

Request errors
HTTP statuserrorMeaningFix
400invalid_requestThe body is not JSON or a field is wrong; message says which.Read message, correct that field and send again.
401unauthorizedNo Bearer key, or a key we do not know.Send the header Authorization: Bearer <key> with a key from Developers → Credentials.
401key_disabledThe key is switched off.Switch the key on in Developers → Credentials, or use another key.
401key_expiredThe key is past its last day (WIB).Make a new key, or ask your admin to move the key's expiry date.
402insufficient_balanceThe balance is too low to send the code. OTP calls only.Top up the balance, then ask for a new code.
403ip_not_allowedThe request is not from one of the key's allowed IPs.Ask your admin to add this IP to the key's Allowed IPs, or remove the limit.
403not_activeThe account is not active yet.Sign in to the portal and set your password, and finish what the welcome email asks (verify your WhatsApp number, or top up), then try again.
403suspendedThe account is suspended.Contact Telrioz support.
403sender_not_allowedThe Sender ID is not approved for that number's operator. OTP calls only.Use an approved Sender ID, or leave from out to use the Gateway's Sender ID.
404not_foundNo such id on this account, or no such path under /api/v1. Status and verify calls only.Check the path, and that the id is the one the send call returned and the key belongs to the same account.
409otp_limitAlready 5 OTPs to this number today. Applies while the account's Throttle is on; it can be switched off. OTP calls only.Wait until tomorrow (WIB), or let the user use the code already sent.
412no_routeThere is no Route, or no price, for that number's operator yet. OTP calls only.Contact Telrioz support to add the Route.
422no_gatewayThe Gateway was paused while the request was in flight, so the code could not go out. A Gateway that is paused or deleted before the request answers 400 invalid_request instead. OTP calls only.Switch the Gateway on in Messaging → Gateways, or name another active OTP Gateway in gateway, then ask for a new code.
429rate_limitedMore than 10 requests a second on this account.Wait a second and send again; space calls out, or send many numbers in one call.
429throttledMore messages a second than the account's speed limit. OTP calls only.Wait a moment and try again.
500internalSomething failed on our side.Try again; if it keeps happening, contact Telrioz support.
503unavailableTelrioz could not take the message right now. OTP calls only.Try again in a few seconds.

Message errors

A message that ends in an Error state carries one of these codes in its error field.

Message errors
CodeMeaningRetry helps
TELRIOZ_NOT_SENTUpstream did not take the message in timeYes
ESME_RTHROTTLEDUpstream was over its speed limitYes
ESME_RMSGQFULUpstream's queue was fullYes
ESME_RSYSERRUpstream's system failedYes
ESME_RSUBMITFAILUpstream could not take the messageYes
ESME_RX_T_APPNA temporary error upstreamYes
ESME_RINVDSTADRNot a valid phone numberNo
ESME_RINVDSTTONNot a valid phone number (its type)No
ESME_RINVDSTNPINot a valid phone number (its plan)No
ESME_RINVSRCADRThe Sender ID was refusedNo
ESME_RINVSRCTONThe Sender ID was refused (its type)No
ESME_RINVSRCNPIThe Sender ID was refused (its plan)No
ESME_RINVMSGLENThe text is too longNo
ESME_RINVESMCLASSThe message type was refusedNo
ESME_RINVDCSThe encoding was refusedNo
ESME_RX_P_APPNUpstream refused the message for goodNo
ESME_RX_R_APPNUpstream refused the messageNo
NE:0100Not a valid phone numberNo
NE:0101The phone number does not existNo
NE:0102The number is roaming or out of reachNo
NE:0103The handset had a problem (signal or SMS function)Yes
NE:0104The number has unsubscribed from SMSNo
NE:0105The handset is off or its service is suspendedYes
NE:0106The number is being transferred to another operatorNo
CR:0200The content was blockedNo
CR:0201The number is blacklistedNo
CR:0202Too many messages to this number too fastYes
CR:0203Sent outside the allowed service hoursYes
CR:0205The message was blocked at auditNo
CR:0206The sending limit was exceededYes
CR:0208Blocked because of too much trafficYes
CR:0211The Sender ID was refusedNo
CR:0212The signature was blockedNo
CR:0213The same content was sent againNo
CR:0214The number is high riskNo
CR:0215The signature was not reported to the operatorNo
CE:0300The request's format was wrongNo
CE:0301The text is too long or emptyNo
CE:0302A part of the long message is missingNo
CE:0305The operator is not supportedNo
CE:0307The message ID is wrongNo
SY:0500Upstream's system failedYes
SY:0501Upstream's gateway failedYes
UN:0900An unknown error upstreamYes
RE:0200The content was blockedNo
RE:0201The number is blacklistedNo
RE:0202Too many messages to this number too fastYes
RE:0211The Sender ID was refusedNo
RE:0212The signature was blockedNo
RE:0213The same content was sent againNo
RE:0214The number is high riskNo
RE:0215The signature was not reported to the operatorNo
RE:0305The operator is not supportedNo
RE:0307The message ID is wrongNo
RE:0500Upstream's system failedYes

An upstream carrier may send a code that is not in this list. Trust the permanent field: true means sending again will fail the same way.

SMPP errors

These are the statuses Telrioz returns to an SMPP client. They are separate from the message errors above, so each row here has its own anchor starting with smpp-.

SMPP errors
StatusNameWhenFix
0x00000001ESME_RINVMSGLENA bind or submit_sm that we cannot read.Check the PDU length and that every field is complete.
0x00000003ESME_RINVCMDIDYou sent a command we do not support, so the reply is a generic_nack.Use only bind, submit_sm, enquire_link and unbind. Send other requests through the REST API.
0x00000004ESME_RINVBNDSTSYou sent a request before you bound, or a submit_sm on a receiver bind. The session closes in the second case.Bind first. To send, bind as transmitter or transceiver.
0x00000005ESME_RALYBNDYou sent a bind on a session that is already bound.Keep using the bound session, or unbind first.
0x00000008ESME_RSYSERRWe do not support data_sm, or we are shutting down and take no new texts.Use submit_sm. If it is a shutdown, reconnect after a few seconds.
0x0000000AESME_RINVSRCADRThe Sender ID is not approved for the number's operator.Send from a Sender ID that is approved, or request it in Messaging → Sender IDs.
0x0000000BESME_RINVDSTADRThe number is invalid, there is no Route for it, or the Route has no price for it. An empty destination gives the same status.Check the number in international format and that your Gateway has a Route to that country.
0x0000000DESME_RBINDFAILThe bind is refused: your IP is not in Allowed IPs, the login has no Allowed IPs, the account is not active, or the login is at its bind limit.Ask for your IP in Settings → Security → Request a change, or unbind a session. Then bind again.
0x0000000EESME_RINVPASWDThe system_id is unknown or the password is wrong.Check both in the dashboard: Developers → Credentials lists your system IDs, and shows each password to your account's Super Admin.
0x0000000FESME_RINVSYSIDThe account is suspended or not active, so it cannot send.Contact support to activate the account.
0x00000014ESME_RMSGQFULWe cannot take the text now.Retry after a few seconds. Retrying may work.
0x00000045ESME_RSUBMITFAILThe text is not accepted: your Gateway has no Route, the balance is too low, or the OTP limit for the number is reached.Top up the balance, check the Gateway, or try the number again the next day. Retrying the same text will not help.
0x00000058ESME_RTHROTTLEDYou send faster than your SMPP login's speed limit.Slow down and retry. Retrying may work.