企业微信发送应用消息获取access_token失败,如何确认secret?
发布于 4 年前 作者 guojun 11848 次浏览 来自 问答

现在文档上

与看到的菜单已经不同,现在的如下

在服务商平台下可看到secret但调用 https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=ID&corpsecret=SECRET

返回结果:

 {“errcode”:40001,“errmsg”:“invalid credential, hint: [xxxxxxx], from ip: xxxx, more info at https://open.work.weixin.qq.com/devtool/query?e=40001”}

secret从如下获取,cropid使用的企业id

请问这个应用的secret到底从何处获取

2 回复

确认是使用的appid跟秘钥是否一致

原来是之前安装的测试版,不是通过关联的所以没展示secret,重新安装即可

回到顶部