第三方平台,使用授权码获取授权信息
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]"}
参数已确认过好久回,各效值都在有效期内,还是一直返回这个错误
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过几分钟就失效了