基于微信第三方平台获取微信公众号素材总数时响应:access clientip is not registered requestIP: 101.207.139.251 rid: 6018ee3e-537e89cc-65c6e6b9 的排查分析
1、基于微信第三方平台获取微信公众号素材总数时响应:access clientip is not registered requestIP: 211.159.147.118 rid: 6018bcd1-0caf88b5-36887ce4。参考网址:https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Get_the_total_of_all_materials.html 。如图1
{ "errcode": 61004, "errmsg": "access clientip is not registered requestIP: 101.207.139.251 rid: 6018ee3e-537e89cc-65c6e6b9" }
2、获取请求微信接口的机器的 IP 地址:101.207.139.251。在白名单IP地址列表中未查找到。如图2
3、在白名单IP地址列表中添加 IP 地址:101.207.139.251。如图3
4、再次调用接口:https://api.weixin.qq.com/cgi-bin/material/get_materialcount?access_token=ACCESS_TOKEN 。响应成功,未再报错。如图4
{ "voice_count": 0, "video_count": 1, "image_count": 885, "news_count": 531 }
近期评论