收藏
回答

创建群聊会话但是返回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代码就不可以了?

回答关注问题邀请回答
收藏

1 个回答

  • mao
    mao
    2021-08-18

    我弄错了 可以了


    2021-08-18
    有用
    回复
登录 后发表内容