Skip to content
Last updated

Error Codes

This section lists API error codes returned by Promotexter and their corresponding descriptions. Use these codes to identify request issues (such as invalid parameters, authentication problems, and channel-specific validation errors) and to guide troubleshooting or user-facing error handling.

CodeDescription
200100Parameters validation error.
200101The account has no credit.
200102The country setting of the account is incorrect.
200201The sender name is invalid.
200202The recipient is invalid.
200203The message body is invalid.
200204The callback is invalid.
200205International sending is not allowed.
200206Duplicate call is not allowed.
200207subject is invalid.
200208html is invalid.
200209Email recipient is blacklisted.
200210groupName is invalid.
200211Email recipient has previously opted-out.
200212Data is no longer available.
200213At least one filter is required.
200214%Unsubscribe_Link% placeholder is required.
200215Invalid Country Mobile Prefix.
200216Invalid Parameter Value.
200217Invalid Date Format.
200218Code placeholder is required.
200219codelength value did not meet minimum value'.
200220codelength value exceeded
200221codelength value should only be numeric.
200222codetype is invalid.
200223expiration value did not meet minimum value
200224expiration value exceeded
200225expiration value should be numeric; Transaction ID is required.
200226SMS Fallback message limit exceeded; Viber message length exceeded.
200227id is required.
200228id is invalid.
200229Transaction has expired.
200230code is required.
200231code is invalid.
200232Caption length exceeded.
200233Invalid content combination.
200234Invalid transaction type.
200235Invalid TTL value.
200236Channel ID must be whitelisted to the account.
200237URL/s is not safelisted. To request URL safelisting, you can contact our Support team at support@promotexter.com. URL/s: (list of non-safelisted URLs)
200238Invalid attemptLimit value
200239Incorrect code attempt limit reached. Limit: ( attemptLimit value).
200242Attachment is invalid.
200243Attachment size limit exceeded.
200244Token has expired.
200245Token is required.
200246Invalid client-generated token expiration value (min: 1 sec; max: 1 min).
200247The recipient is blacklisted.
200248Template ID is incorrect.
200249Template variable or language is incorrect.
200261Target device value is invalid
200301The message is not routable.
40001Unauthorized Access.
40002Too many requests.
40003Parameters validation error.
40004Bad request (+Error Description)
40005Endpoint doesn't exist.
40006Base Error
40007Unauthorized IP.
50000General Error
50001Bad Request
50002General Error
50003General Error
500101The SMS Service is unavailable.

Note: 40004 will contain the specific error message detected.