创建群回话时出现错误60011或者48002
发布于 3 年前 作者 ganglong 909 次浏览 来自 分享

现象:

使用通讯录中的secret生成的token执行时出现

{ “errcode”: 48002, “errmsg”: “api forbidden, hint: [xxxxxxxxxx], from ip: xxxxxxxxx, more info at https://open.work.weixin.qq.com/devtool/query?e=48002” }

自建应用的secret生成的的token 执行出现

{ “errcode”: 60011, “errmsg”: “no privilege to access/modify contact/party/agent , hint: [xxxxx], from ip: xxxxxxxxxx, more info at https://open.work.weixin.qq.com/devtool/query?e=60011 }

解决方法:

创建群回话时要使用自建应用的secret生成的token:出现48002的原因: 自建应用的可见范围设置问题

打开自建应用

可见范围调整至企业范围,在此创建群会话,返回ok

回到顶部