微信登录提示48001,{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: 1QoCla0699ns81 ]"}
来源:互联网 发布:java序列化原理 编辑:程序博客网 时间:2024/04/29 12:25
原因:
①:你的服务号必须是通过腾讯认证,每年是300元,如果没有认证而导致的错误提示,那就去认证,别往下看了!如果你已认证,本条原因排除,那么请继续往下看
②:你是否是第三方网页,第三方网页的话,那么你的url地址里面的scope这个参数要填写"snsapi_userinfo",否则会报这个错!原因如下!
URL地址:https://open.weixin.qq.com/connect/oauth2/authorize?appid={0}&redirect_uri={1}&response_type=code&scope={2}&state=ok#wechat_redirect
scope参数对应值的解释:
snsapi_base 不需要用户点同意,直接跳转到授权后的页面,只能用于获取openid,不能获取用户基本信息
snsapi_userinfo 会征求用户同意,授权后,可以获取用户基本信息
2 1
- 微信登录提示48001,{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: 1QoCla0699ns81 ]"}
- 微信 {"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: 1QoCla0699ns81 ]"}
- 微信 {"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: 1QoCla0699ns81 ]"}
- 调用 微信接口报错 {"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: 1QoCla0699ns81 ]"}
- 微信坑-网页授权登录errcode=48001,errmsg=api unauthorized, hints: [ req_id: Q0188s105 ]
- 关于微信开发模式创建菜单失败 errcode:48001 errmsg:api unauthorized hint: [9U7bga0176vr44!]的解释
- 微信坑-网页授权登录errcode=48001,errmsg=api unauthorized
- 微信 "{"errcode":-1,"errmsg":"system error"}"
- 微信自定义菜提示 “{“errcode”:40001,”errmsg”:”invalid credential”}”
- 微信公众号{"errcode":40029,"errmsg":"invalid code"} ? 微信公众号错误提示:{"errcode":40029,"errmsg":"invalid code"}
- "errcode":50001,"errmsg":"redirect_uri unauthorized"
- 微信支付{"errcode":1001,"errmsg":""}问题
- 微信添加客服帐号{"errcode":65400,"errmsg":"please
- 微信公众号 {"errcode"40037,"errmsg""invalid template_id"}
- 微信错误代码:errcode:{40055} errmsg:{invalid button url domain}
- 微信支付提示{"errMsg":"chooseWXPay:fail"}
- 微信开发者获取服务令牌(component_access_token){"errcode":41002,"errmsg":"appid missing"}
- 微信公众开发-- 上传图片 "errcode":41005,"errmsg":"media data missing"
- input元素
- Linux系统中查询发行版本号以及内核版本的命令总结
- 开源集锦(二)项目源码
- js闭包
- 魅族手机魅蓝note处于开发者模式,如何打开USB调试
- 微信登录提示48001,{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: 1QoCla0699ns81 ]"}
- Quartz学习之Lesson7-TriggerListeners and JobListeners
- 【java学习记录】6.创建一个桌子Table类,计算桌面面积并在屏幕上输出所有成员的值
- iOS10 Xcode8真机测试 code signing is required for product type 'Application' in SDK 'iOS 10.0'
- JavaScript - Date对象
- C++中关联容器的使用
- 代码优化细节
- 道德经 上篇:道经 第二章
- Eclipse 项目demo 导入AS中出现中文乱码问题,本人亲自试验有效方法,一起学习