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 Code

Error Message

For error type - Limit Exceeded

The following errors are displayed when the data in one or more parameters of the email API script exceed the limit.

E14500

Limit Exceeded.

E14501

Characters in to parameter exceeded.

E14502

Characters in from parameter exceeded.

E14503

Characters in from_name parameter exceeded.

E14504

Characters in subject parameter exceeded.

E14505

Characters in tag parameter exceeded.

E14506

Characters in html_body parameter exceeded.

E14507

Characters in text_body parameter exceeded.

E14508

Characters in reply_to parameter exceeded.

E14509

Characters in metadata parameter exceeded.

E14510

Addresses in to parameter exceeded limit

E14511

Addresses in from parameter exceeded limit.

E14512

Attachment content exceeded limit.

E14513

Addresses in reply_to parameter exceeded limit.

E14514

Request payload exceeded.

For error type - Invalid Input

The following errors are displayed when the data in one or more parameters of the email API script are invalid.

E12500

Invalid input.

E12501

The value [recipient] for to parameter is invalid.

E12502

The value for from parameter is invalid.

E12503

The value for reply_to parameter is invalid.

E12505

Attachment content is invalid, only base64 or absolute URL is allowed.

E12506

Unsupported file type, please upload valid files.

E12507

email request is invalid.

For error type - Empty Input

The following errors are displayed when the data in one or more parameters of the email API script are empty.

E10500

Input is empty.

E10501

The value for from parameter is empty.

E10502

The value for subject parameter is empty.

E10503

The 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": "" 
} 
}

Did this page help you?