第三方平台,使用授权码获取授权信息api问题?
发布于 4 年前 作者 jun99 9062 次浏览 来自 官方Issues

第三方平台,使用授权码获取授权信息


https://api.weixin.qq.com/cgi-bin/component/api_query_auth?component_access_token=

一直返回

{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest hint: [j82H600321787]"}

参数已确认过好久回,各效值都在有效期内,还是一直返回这个错误

1 回复

很明显是access_token无效, 请重新获取下就行了,

请注意开发环境和生产环境, 如果都有共用appid并且把access_token缓存起来, 只要生产和开发任何一方重新获取access_token, 另一方的access_token过几分钟就失效了

回到顶部