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
获取access_token时却报出下列错误信息:
{"errcode":40164,"errmsg":"invalid ip 61.172.68.219, not in whitelist hint: [KJZfAa0644e575]"}
{"ret":""{"errcode":41001,"errmsg":"access_token missing hint:[FOOOrA0226vr29!]"}"","error":""}
解读:错误代码:40164,
错误信息:无效ip,不在白名单中
于是开始往IP白名单这个方向思考,因为换了个地方,网络不同,电脑的ip地址变了。所以要再设置一下白名单
二、解决方法
登录公众平台,开发->基本配置->IP白名单->查看->修改->将ip地址添加进去即可
The text was updated successfully, but these errors were encountered:
文档 https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115
微信 JS 接口签名校验工具 https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=jsapisign
先登录公众号 功能设置”里填写“JS接口安全域名” 不加 http 一个月只能改3次,还要在根目录上传一个TXT问题
invalid signature 签名错误 可能是 Ajax来获取签名的时候 url 和访问页面的url不同
获取access_token时却报出下列错误信息:
{"errcode":40164,"errmsg":"invalid ip 61.172.68.219, not in whitelist hint: [KJZfAa0644e575]"}
{"ret":""{"errcode":41001,"errmsg":"access_token missing hint:[FOOOrA0226vr29!]"}"","error":""}
解读:错误代码:40164,
错误信息:无效ip,不在白名单中
于是开始往IP白名单这个方向思考,因为换了个地方,网络不同,电脑的ip地址变了。所以要再设置一下白名单
二、解决方法
登录公众平台,开发->基本配置->IP白名单->查看->修改->将ip地址添加进去即可
The text was updated successfully, but these errors were encountered: