You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"errcode": 40001,
"errmsg": "invalid credential, access_token is invalid or not latest, could get access_token by getStableAccessToken, more details at https://mmbizurl.cn/s/JtxxFh33r rid: 6497fc3d-2a485f40-20e51066"
}
laravel-wechat 版本: 7.2
Laravel版本: 10
Laravel设置缓存derive : redis
正常清除缓存之后可以正常访问, 查看缓存过期时间1500. 使用配置:
设置
use_stable_access_token
未false
,当第一次请求之后, 经过缓存时间过期之后就出现了 access_token 过期, 未自动刷新
是否需要自动判断出现 40001 错误码, 使用
$app->getAccessToken()->refresh()
, 或者改用use_stable_access_token
The text was updated successfully, but these errors were encountered: