公众号统计接口,返回40001?
发布于 6 年前 作者 yangzheng 3625 次浏览 来自 官方Issues

获取用户增减数据(getusersummary)

https://api.weixin.qq.com/datacube/getusersummary?access_token=ACCESS_TOKEN


获取累计用户数据(getusercumulate)

https://api.weixin.qq.com/datacube/getusercumulate?access_token=ACCESS_TOKEN

如上两个统计接口请求时,返回

{

    “errcode”: 40001,

    “errmsg”: “invalid credential, access_token is invalid or not latest hint: [2Yn_30807r234]”

}

同样的token去【网页测试工具】请求 菜单信息,可以正常返回,请问是什么问题呢

2 回复

已经做成2分钟就刷新一次怎么还会过期?

invalid credential, access_token  看token是不是过期了

回到顶部