【物流助手】模拟更新运单接口返回参数错误?
发布于 6 年前 作者 yutao 12160 次浏览 来自 官方Issues
请求地址:POST https://api.weixin.qq.com/cgi-bin/express/business/test_update_order?access_token=ACCESS_TOKEN
请求参数:{"biz_id": "SF_CASH", "order_id": "31d7ef981ff811ebb8d0f48e38dd0dc8", "delivery_id": "SF", "waybill_id": "SF6026130861683", "action_time": 1604646828, "action_type": 100001, "action_msg": "揽件成功"}
返回:{'errcode': 40097, 'errmsg': 'invalid args rid: 5fa4f7ac-438db2ad-50c5c2e2'}
appid:wxc5d78102e3099928

 请问:是哪个参数错误?是否 action_msg 参数异常?
注:
(1)使用 json 方式发送请求;
(2)使用 json.dumps(param_dict, ensure_ascii=False).encode('utf-8') 发送 form 请求;
 两种方式返回错误相同,都是{'errcode': 40097, 'errmsg': 'invalid args rid: 5fa4f7ac-438db2ad-50c5c2e2'}
2 回复

你好,需要biz_id是test_biz_id ,delivery_id 是 TEST才能使用这个接口。

补充,使用 postman 返回同样的错,如下图所示:

回到顶部