获取openId接口:sns/oauth2/access_token,响应参数异常
发布于 5 年前 作者 xiuying57 1764 次浏览 来自 问答

有时返回errcode":40163,“errmsg”:"code been used, hints: [ req_id: MdoBRh4FE-_iqKea ]

{“errcode”:40029,“errmsg”:"invalid code, hints: [ req_id: 1foBSgMre-Hz ]等五花八门的错误

1 回复

你好,40163指oauth_code已使用;40029指无效的 oauth_code,请参考返回码说明文档https://developers.weixin.qq.com/doc/oplatform/Return_codes/Return_code_descriptions_new.html。另外,请提供下此接口的文档链接哈

回到顶部