尝试检索访问令牌时出现微信错误50001

时间:2017-11-01 12:01:42

标签: rest wechat

试图打电话给“微信官方账号”api:

https://api.wechat.com/cgi-bin/token?grant_type=client_credential&appid=[APPID]&secret=[SECRET]

结果我得到了:

{
   "errcode": 50001,
   "errmsg": "user unauthorized hint: [584DOa0572e578]"
}

我可以看到我有权获取访问令牌: enter image description here

我在某处读过,官方帐户必须经过API访问验证,但我在官方文档中找不到。

有人可以提出错误代码的可能原因吗?

提前感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

基于此文档http://admin.wechat.com/wiki/index.php?title=Return_Codes

50001错误代码表示用户无权使用该API