创建群聊会话但是返回86006错误?但是用测试工具可以
url = 'https://qyapi.weixin.qq.com/cgi-bin/appchat/create?access_token={}'.format(access_token)
data = {
"access_token":access_token,
"name": "测试1",
"owner": "mao",
"userlist": ["mao", "WuAngWang", "TaoQiQi"]
}
req = requests.post(url=url, data=data,)
print(req.text)
返回码 {"errcode":86006,"errmsg":"Warning: wrong json format. invalid chat member list size, hint: [1629267053_209_3028f15929e1dc0cac05f71932519aad], from ip: 124.236.250.51, more info at https://open.work.weixin.qq.com/devtool/query?e=86006"}
[图片] 为什么转到Python代码就不可以了?