Email Error Codes

Email error codes and messages for email APIs.

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 the email APIs.

Error CodeError Message
E14500Limit Exceeded.
E14501Characters in ‘to’ parameter exceeded the limit.
E14502Characters in ‘from’ parameter exceeded the limit.
E14503Characters in ‘from_name’ parameter exceeded the limit.
E14504Characters in ‘subject’ parameter exceeded the limit.
E14505Characters in ‘tag’ parameter exceeded the limit.
E14506Characters in ‘html_body’ parameter exceeded the limit.
E14507Characters in ‘text_body’ parameter exceeded the limit.
E14508Characters in ‘reply_to’ parameter exceeded the limit.
E14509Characters in ‘params’ field exceeded the limit.
E14510Addresses in ‘to’ parameter exceeded the limit.
E14511Addresses in ‘from’ parameter exceeded the limit.
E14512Attachment content exceeded limit.
E14513Addresses in ‘reply_to’ parameter exceeded the limit.
E14514Request payload exceeded.
E14515Templates in request exceeded limit
E14516Characters in 'template' parameter exceeded the limit.
E14517Max limit exceeded for template creation.
E14518Channel Inactive.
E14519Non-Template email is not enabled.
E14520Characters in 'params' parameter exceeded the limit.
E14521Characters in 'cc' parameter exceeded the limit.
E14522Characters in 'bcc' parameter exceeded the limit.
E14523Addresses in 'cc' parameter exceeded the limit.
E14524Addresses in 'bcc' parameter exceeded the limit.
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.
E12508Request format is invalid
E12509Template request is invalid
E12511The value for limit parameter is invalid
E12512Date format is invalid. Use YYYY-MM-DD
E12513Invalid sign present in the email id
E12514The value of type parameter is invalid
E12515From address(Sender domain) is not whitelisted
E12516The param parameter is invalid, cannot found in the params.
E10500Input is empty.
E10501The value for from parameter is empty.
E10502The value for subject parameter is empty.
E10503The value for to parameter is empty.
E10504The value for auth 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": "" 
} 
}