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"}
出现同样问题,请问你们最后怎么处理的?
个人案例:出现api unauthorized,是因为accessToken并不是用户的token,而是isv的token.