异常信息:{"errcode":42001,"errmsg":"access_token expired rid: xxx"}
翻阅文档 https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/order-shipping/order-shipping.html、https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/mp-access-token/getStableAccessToken.html,也没查到有这么一个42001的错误描述,请及时更新!
可以到这个文档找:https://developers.weixin.qq.com/doc/oplatform/Return_codes/Return_code_descriptions_new.html
看你给的这个文档中描述:“获取 access_token 时 AppSecret 错误,或者 access_token 无效”。
也已确认AppSecret正确,产生这种情况是什么原因?
{"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: 64f9c08d-687aeffd-76b39802"}