收藏
回答

微信服务商调用V3接口上传图片调用出现证书错误?

{"aborted":false,"allHeaders":[{"elements":[{"name":"application/json","parameterCount":1,"parameters":[{"name":"charset","value":"UTF-8"}]}],"name":"Accept","value":"application/json; charset=UTF-8"}],"entity":{"chunked":true,"contentLength":-1,"contentType":{"elements":[{"name":"multipart/form-data","parameterCount":1,"parameters":[{"name":"boundary","value":"cUJN_xOFSe_l2SX00xkixDnXivIWquSjVndLG"}]}],"name":"Content-Type","value":"multipart/form-data; boundary=cUJN_xOFSe_l2SX00xkixDnXivIWquSjVndLG"},"repeatable":false,"streaming":true},"meta":"{\"filename\":\"1.png\",\"sha256\":\"2417f3361508b64e009552ce8276cbb57c08ec6bff0493d50b4d7b9eb43d5b9d\"}","method":"POST","params":{"names":[]},"protocolVersion":{"major":1,"minor":1,"protocol":"HTTP"},"requestLine":{"method":"POST","protocolVersion":{"$ref":"$.protocolVersion"},"uri":"https://api.mch.weixin.qq.com/v3/merchant/media/upload"},"uRI":"https://api.mch.weixin.qq.com/v3/merchant/media/upload"}

{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"POST","sign_message_length":172,"truncated_sign_message":"POST\n/v3/merchant/media/upload\n1639326935\nOLrlsOZxTk9Qdg3jJMxB33jz6mhypDM5\n{\"filena\n","url":"/v3/merchant/media/upload"}},"message":"错误的签名,验签失败"}

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容