FAQ
Common questions and answers for integration.
Signature Error
If the API returns 0004 Sign error, please check the following points:
- Parameter Sorting: Are the parameters sorted in ASCII ascending order (lexicographical order)?
- Parameter Filtering: Have you excluded
sign,sign_type, and parameters with empty values? - Key Appending: Did you correctly append
&key={your_secret_key}to the end of the parameter string? - Encryption Method: Are you using the MD5 algorithm and converting the result to lowercase?
- Encoding: It is suggested to use UTF-8 encoding for all Chinese parameters to avoid signature inconsistencies caused by encoding issues.
For more signature details, please refer to Signature Specification.