Skip to main content

FAQ

Common questions and answers for integration.

Signature Error

If the API returns 0004 Sign error, please check the following points:

  1. Parameter Sorting: Are the parameters sorted in ASCII ascending order (lexicographical order)?
  2. Parameter Filtering: Have you excluded sign, sign_type, and parameters with empty values?
  3. Key Appending: Did you correctly append &key={your_secret_key} to the end of the parameter string?
  4. Encryption Method: Are you using the MD5 algorithm and converting the result to lowercase?
  5. 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.