Email error codes

Email error codes and messages for email APIs.

Email error codes

An email API error occurs due to incorrect values in email API and the corresponding error messages are displayed when you run the API script.

The following table shows the various error codes and the error messages for different error types for email APIs.

Error CodeError Message
For error type - Limit ExceededThe following errors are displayed when the data in one or more parameters of the email API script exceed the limit.
E14500Limit Exceeded.
E14501Characters in to parameter exceeded.
E14502Characters in from parameter exceeded.
E14503Characters in from_name parameter exceeded.
E14504Characters in subject parameter exceeded.
E14505Characters in tag parameter exceeded.
E14506Characters in html_body parameter exceeded.
E14507Characters in text_body parameter exceeded.
E14508Characters in reply_to parameter exceeded.
E14509Characters in params field exceeded.
E14510Addresses in to parameter exceeded limit
E14511Addresses in from parameter exceeded limit.
E14512Attachment content exceeded limit.
E14513Addresses in reply_to parameter exceeded limit.
E14514Request payload exceeded.
E14517Max limit exceeded for template creation.
E14518Channel Inactive.
E14519Non-Template email is not enabled.
For error type - Invalid InputThe following errors are displayed when the data in one or more parameters of the email API script are invalid.
E12500Invalid input.
E12501The value [recipient] for to parameter is invalid.
E12502The value for from parameter is invalid.
E12503The value for reply_to parameter is invalid.
E12505Attachment content is invalid, only base64 or absolute URL is allowed.
E12506Unsupported file type, please upload valid files.
E12507email request is invalid.
For error type - Empty InputThe following errors are displayed when the data in one or more parameters of the email API script are empty.
E10500Input is empty.
E10501The value for from parameter is empty.
E10502The value for subject parameter is empty.
E10503The value for to parameter is empty.

An example error message is shown.

/v1/email/ 
HTTP/1.1 500  
{ 
"error": { 
 "code": "E22500", 
 "type": "Exception", 
 "message": "Internal server Error", 
 "reference": "" 
} 
}