Skip to main content

Error List

The API returns the following HTTP status codes when it is unable to fulfill a request:

  • 401 – Unauthorized - authentication error (e.g., invalid API Key)
  • 400 – Bad Request - invalid parameterization or violation of a business rule that prevents fulfilling the request

Error Object​

In certain error scenarios, the response body will contain an object with details about the occurred error:

{
code: "",
param: "",
description: ""
}

The meaning of the fields is as follows:

  • code - error code;
  • param - name of the parameter that caused the error (if applicable);
  • description - textual description of the error.

Error Codes​

The following error codes may be returned:

General​

CodeDescription
PARAM_INVALIDInvalid parameter value (parameter name specified in the param field).
FEATURE_IS_DISABLEDFeature not enabled for organization.
PARAM_EXCEEDS_MAX_LENGTHParameter value exceeds maximum length (parameter name specified in the param field).
PAYLOAD_EXCEEDS_MAX_SIZERequest payload exceeds maximum size.
INVALID_URLInvalid URL
GENERIC_ERRORGeneric error. Contact the support team

Audience​

CodeDescription
INCOMPLETE_KEY_COLUMN_MAPPINGNot all required key fields found in the provided object.
INVALID_KEY_CONFIGURATIONInvalid key field value.
SCHEMA_MISMATCHIncompatible schema.
AUDIENCE_SCHEMA_NOT_FOUNDOrganization schema not found.
RECIPIENT_ALREADY_EXISTSContact already exists.
MAX_PLAN_RECIPIENT_COUNT_REACHEDMaximum number of allowed audience contacts for the plan reached.

Send Email​

CodeDescription
FROM_NOT_ALLOWEDEmail sender not authorized. Refer to the domain configuration section.
NO_CONTENT_DEFINEDNo content defined for sending in the TextContent or HtmlContent fields.
EMAIL_ATTACHMENTS_NOT_ALLOWEDEmail attachment sending not allowed.
ATTACHMENT_PARAM_EMPTYAttachment parameter is empty.
ATTACHMENT_PARAM_TOO_LONGAttachment parameter exceeds maximum size.
ATTACHMENT_PARAM_INVALIDInvalid attachment parameter.
INVALID_WEBHOOK_URLInvalid webhook URL.
INSUFFICIENT_BALANCEOrganization does not have enough balance to send the message
TOO_MANY_RECIPIENTSToo many recipients have been configured on the To, CC, BCC properties - there is a cumulative limit of 50 recipients for each individual Email message

Send SMS​

CodeDescription
FROM_NOT_ALLOWEDSMS sender not authorized. Refer to the domain configuration section.
MOBILE_OPERATOR_NOT_FOUNDMobile operator not found.
INVALID_WEBHOOK_URLInvalid webhook URL.
INSUFFICIENT_BALANCEOrganization does not have enough balance to send the message
WEBHOOK_CUSTOM_PAYLOAD_EXCEEDS_MAX_LENGTHContent of the CustomPayload field exceeds the maximum size of 1KB

Send RCS​

CodeDescription
INVALID_REQUESTThe request is malformed or contains invalid properties.
ORGANIZATION_NOT_FOUNDThe specified organization does not exist or is not accessible to the authenticated user.
RCS_CHANNEL_NOT_ENABLEDThe RCS channel is not enabled for the organization.
INVALID_RECIPIENTThe recipient number is missing or invalid.
INVALID_SENDERThe specified sender is missing, invalid or not configured for the organization.
INVALID_EXPIRATION_DATEThe expiration date is invalid or has already passed.
EMPTY_MESSAGESThe messages array does not contain any elements.
MAX_MESSAGES_EXCEEDEDThe request contains more than 10 messages.
INVALID_CONTENTThe RCS content does not satisfy the applicable validation rules.
MULTIPLE_CONTENT_TYPESMore than one primary RCS content type was provided.
TEXT_LENGTH_EXCEEDEDThe text contains more than 3,072 characters.
MESSAGE_SIZE_EXCEEDEDA message exceeds the maximum size of 250 KB.
MAX_SUGGESTIONS_EXCEEDEDThe applicable suggestion limit was exceeded.
INVALID_SUGGESTIONA suggestion is incomplete or contains invalid properties.
INVALID_MEDIA_URLA media or thumbnail URL is invalid.
MEDIA_NOT_ACCESSIBLEThe media resource could not be accessed.
UNSUPPORTED_MEDIA_TYPEThe declared MIME type is not supported.
INVALID_RICH_CARDThe rich card does not contain valid content.
INVALID_CAROUSELThe carousel contains an invalid number of cards or invalid card content.
INSUFFICIENT_BALANCEThe organization does not have sufficient RCS balance.
RATE_LIMIT_EXCEEDEDThe applicable request rate limit was exceeded.
INTERNAL_ERRORAn unexpected internal error occurred.

Check Balance​

CodeDescription
ORGANIZATION_ID_EMPTYOrganization identifier not specified
ORGANIZATION_BALANCE_CONFIG_NOT_FOUNDInvalid balance configuration. If the issue persists, please contact the support team.

Transfer Email Balance​

CodeDescription
SOURCE_ORGANIZATION_ID_EMPTYSource organization identifier not specified
DESTINATION_ORGANIZATION_ID_EMPTYDestination organization identifier not specified
BALANCE_TRANSFER_FAILEDThe balance transfer could not be completed. If the issue persists, please contact the support team.

Transfer SMS Balance​

CodeDescription
SOURCE_ORGANIZATION_ID_EMPTYSource organization identifier not specified
DESTINATION_ORGANIZATION_ID_EMPTYDestination organization identifier not specified
COUNTRY_ID_EMPTYCountry code not specified
INVALID_COUNTRY_IDInvalid country code. This code must follow the ISO 3166-1 alpha-2 standard
BALANCE_TRANSFER_FAILEDThe balance transfer could not be completed. If the issue persists, please contact the support team.