Skip to main content

Common Error Codes

Error Code List​

Error CodeDescription
0Success
215392Parameter error, see Message field for specific error information
215393Authentication failed
215394Signature verification failed
215395Timestamp expired
215396Parameter not found
215397Missing required parameter
215398Failed to parse Token
215399Invalid Token
215400Server error

Sending Domain and Sender Error Codes​

These codes are returned by the Sending Domain and Email Sender APIs in addition to the common codes above.

Error CodeDescription
214403Missing required parameter, see Message field for the parameter name
214405Invalid parameter, see Message field for the parameter name
214406Internal service error
214407The record does not exist, or the record already exists for create requests
215113Domain name contains an invalid character
215114Domain name is too long
215115The domain cannot be deleted after verification
215117The default sender cannot be updated
215118The default sender cannot be deleted
215129The domain is unavailable (disabled or not verified)
215130The email suffix does not match the domain
215210The number of domains exceeds the account limit

Notes​

  1. Authentication: Please keep your API keys secure. Do not hardcode them in your code. It is recommended to use environment variables or configuration files
  2. Request Rate: Please pay attention to the API rate limits and avoid frequent requests
  3. Parameter Validation: Before sending requests, ensure all required parameters are correctly filled and meet length and format requirements
  4. Error Handling: It is recommended to add comprehensive error handling logic in your code and handle accordingly based on RetCode
  5. HTTPS: All requests must use HTTPS protocol to ensure data transmission security
  6. Email Content:
    • When sending using templates, ensure template variable parameter format is correct: varLabelName{#...}varLabelValue
    • When sending emails directly, the Content field supports HTML format
    • Email subject and content must comply with relevant laws and regulations
  7. Batch Sending:
    • SendEmail API supports up to 100 recipients
    • It is recommended to reasonably control the number of batch sends to avoid triggering anti-spam mechanisms
  8. Session Number:
    • SessionNo will be returned after successful sending and can be used to query email sending status later

Contact Support​

If you have any questions, please contact the technical support team.