收藏
回答

sign not match

我参照文档要求书写,但是包sign not match

 {"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"","sign_message_length":128339065,"truncated_sign_message":"","url":""}},"message":"Authorization不合法"}{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"","sign_message_length":128339065,"truncated_sign_message":"","":""}},"message":"Authorization不合法"}

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

7 个回答

  • Tiny
    Tiny
    2023-11-14

    真不知道腾讯干了点啥,这个支付做的恶心得一批

    2023-11-14
    有用 2
    回复
  • 科维列夫斯坦尼斯拉夫斯基
    科维列夫斯坦尼斯拉夫斯基
    2023-07-04

    腾讯的东西让人忍不住要吐槽

    2023-07-04
    有用 2
    回复
  • Memory (私信不回复)
    Memory (私信不回复)
    2021-10-11

    签名格式不对,参考签名生成方式https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_0.shtml

    2021-10-11
    有用 1
    回复
  • 徐
    2022-10-08

    是post 还是get,我解决方案

    2022-10-08
    有用
    回复
  • ...
    ...
    2022-09-21

    解决了吗? 我直接用的官方提供的wechat-php sdk 也是报的签名错误, 但是工具验证又是通过了的

    Client error: `GET https://api.mch.weixin.qq.com/v3/capital/capitallhh/banks/search-banks-by-bank-account` resulted in a `401 Unauthorized` response: {"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_ (truncated...)
    


    2022-09-21
    有用
    回复 2
  • 一个团子😶
    一个团子😶
    2022-09-15

    解决了吗?我也碰到这个问题,但是我用微信签名验证的工具,显示签名验证通过啊,也是这种报错

    2022-09-15
    有用
    回复
  • R⃰a⃰b⃰b⃰i⃰t⃰
    R⃰a⃰b⃰b⃰i⃰t⃰
    2022-09-06

    卧槽 太坑了 随机串必须有值 传空值也会报这个错

    2022-09-06
    有用
    回复
登录 后发表内容