Signature Error
Updated: 2021-10-14 17:21:48
Problem Description
After calling the API, the backend returns error messages such as invalid signature.
Cause of the Problem
1、查看文档签名是MD5还是SHA256,调用代码是否和文档描述相同;
2、查看调用代码,字符串拼接时是不是没有按照字典序排序;
3、查看调用代码,字符串拼接时是不是没有将参数值为null的参数剔除;
4、查看调用代码,签名时字符集是不是没有设置为UTF-8;
5、查看调用代码生成的签名是不是没有转大写;
6、发送POST,如果请求体参数通过json传递,json参数不需要参与签名;
