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代码就不可以了?
我弄错了 可以了