按照规范调用api,出现异常!
参考接口文档:https://work.weixin.qq.com/api/doc/90001/90143/94096
入参:
{
"handover_userid": "wufanxiaohao03",
"takeover_userid": "liyuxin",
"external_userid":
[
"wmDXHHDQAAcq5P553zcGVKpsNYP453gQ"
],
"transfer_success_msg":"您好,您的服务已升级,后续将由我的同事李四@腾讯接替我的工作,继续为您服务。"
}
响应:
{
"errcode": 41035,
"errmsg": "missing external userid, hint: [1614762332_107_440ee03aa446071dd1ca0a35fab1b16a], from ip: 119.137.54.102, more info at https://open.work.weixin.qq.com/devtool/query?e=41035"
}
POSTMAN请求测试:
麻烦请尽快核实api
你好,看日志是一个请求的参数都没有,可能是写错了,json解析失败了,看看是否存在非法字符这些
https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get?access_token=3kEj0mrie_1G-pjzp1iQw4SkOPmxok9yEofeWUi3Jg1zVZKl68lx31jllIxbUGZyC_aT4cwutiYo-06X2PMKo5Yxs1IYa2fIPmJzgImBdqb8NjE1emlI7Uyxv7qXvWKXnEnMNlkFBBOMXg7MKkpHOFk_IR1w4zB0D6LxH-GPUY8FXKMgryfoDiGx2zuN4UBLx0jp_SM9FvbG1gpx0CG1Ag&external_userid=wmAQdZCAAATOvukKk4PFQJ3FQ-099ffw
为什么一直提示{
"errcode": 40096,
"errmsg": "invalid external userid, hint: [1636718244_299_49478ec39a6c97bf3aa78afe51e66549], from ip: 113.87.40.4, more info at https://open.work.weixin.qq.com/devtool/query?e=40096",
"follow_user": []
}这个报错呢