收藏
回答

api unauthorized rid

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug 发货信息录入接口 微信iOS客户端 8.0.40 1.0.0

hello,请帮看一眼接口调用失败问题,多谢。

调用接口失败

接口:

POST https://api.weixin.qq.com/wxa/sec/order/upload_shipping_info?access_token=ACCESS_TOKEN




请求:

{"access_token":"71_7uM6KiZVdp_GxUTRL-4R6Tn5M2wuQs55crq39uNiSyzRATlT662W8EdQLCjcA1MGdXepr2domZxiYGBvaCfedKlGkIKngpfF0xl66MgOheIpwQaC0KUDsESUFYYOOkQdnmfcRQZHCFAS39cpWSTcAGDHDE","order_key":{"orderNumberType":1},"logistics_type":4,"delivery_mode":1,"shipping_list":[{"item_desc":"1分钱标品*1"}],"upload_time":"2023-08-22T18:30:30+0800","payer":{"openid":"oEDFH5IAq75gsBKx9Kzr3fJoapeo"}}


返回:

{"headers":{"Connection":["keep-alive"],"Date":["Tue, 22 Aug 2023 10:30:30 GMT"],"Content-Type":["application/json; encoding=utf-8"],"RetKey":["11"],"LogicRet":["48001"],"Content-Length":["77"]},"body":"{\"errcode\":48001,\"errmsg\":\"api unauthorized rid: 64e48e46-42a7b065-7d0e9d5a\"}","status":200,"statusCodeValue":200,"statusCode":"OK"}

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

2 个回答

  • A伍--*
    A伍--*
    01-26

    出现同样问题,请问你们最后怎么处理的?

    01-26
    有用
    回复
  • 愿心
    愿心
    2023-11-21

    个人案例:出现api unauthorized,是因为accessToken并不是用户的token,而是isv的token.

    2023-11-21
    有用
    回复 1
    • snowFlake
      snowFlake
      2023-11-29
      取的是用户授权的token
      2023-11-29
      回复
登录 后发表内容