微信第三方平台授权,获取authorizer_access_token异常?
发布于 4 年前 作者 ayu 14799 次浏览 来自 问答

通过authorizer_refresh_token 获取新的authorizer_access_token,查询频率为authorizer_access_token有效期小于1小时时

响应:

{"errcode":41001,"errmsg":"access_token missing rid: 604fe8d0-11364571-0a7725b0"}

1 回复

你好,41001指缺少 access_token 参数,请参考接口文档https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/api_authorizer_token.html填写正确的参数列表信息

通过authorizer_refresh_token 获取新的authorizer_access_token,查询频率为authorizer_access_token有效期小于1小时时

-------------------------------------------------------------

请问这个问题,能复现吗?什么时候获取到的token什么时候使用时过期?

另外,authorizer_access_token 有效期为 2 小时,开发者需要缓存 authorizer_access_token,避免获取/刷新接口调用令牌的 API 调用触发每日限额。缓存方法可以参考:https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_access_token.html

回到顶部