Common Error Codes
Error Code List
| Error Code | Description |
|---|---|
| 0 | Success |
| 215392 | Parameter error, see Message field for specific error information |
| 215393 | Authentication failed |
| 215394 | Signature verification failed |
| 215395 | Timestamp expired |
| 215396 | Parameter not found |
| 215397 | Missing required parameter |
| 215398 | Failed to parse Token |
| 215399 | Invalid Token |
| 215400 | Server error |
Notes
- Authentication: Please keep your API keys secure. Do not hardcode them in your code. It is recommended to use environment variables or configuration files
- Request Rate: Please pay attention to the API rate limits and avoid frequent requests
- Parameter Validation: Before sending requests, ensure all required parameters are correctly filled and meet length and format requirements
- Error Handling: It is recommended to add comprehensive error handling logic in your code and handle accordingly based on RetCode
- HTTPS: All requests must use HTTPS protocol to ensure data transmission security
- Email Content:
- When sending using templates, ensure template variable parameter format is correct:
variableName{##}variableValue - When sending emails directly, the Content field supports HTML format
- Email subject and content must comply with relevant laws and regulations
- When sending using templates, ensure template variable parameter format is correct:
- 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
- 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.