小程序
小游戏
企业微信
微信支付
扫描小程序码分享
在做微信小店的商品发布,该申请的权限都申请了
https://developers.weixin.qq.com/doc/store/shop/API/product/add.html
{
"errcode": 48001,
"errmsg": "api unauthorized rid: 683e6cb9-30b2446f-68b46091"
}
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
您好,错误码 48001 表示 API 未授权。这可能是因为小程序的 appId 未完成硬件设备接入,或者使用的 access_token 不正确。建议检查小程序是否在「小程序管理后台」完成了硬件设备接入,并确保使用的 access_token 是通过正确的小程序 appId 申请的
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
{"authorization_info":{"authorizer_appid":"wx9171fa06bfed3bc0","authorizer_access_token":"92_jJUcjwyf2CyYsLv_jjoh_CfWjun0gw4W691jBycHEZS2ld5Nn9IQqYIfWk607QDirjx9wm8pSpJdsgfNOOqjNzSFFH88Vqoqp9pFcpcHqgbvxuaLjDczdxLDGF5d443pbsHh12dVuzYYFMUPNMDeALDTSJ","expires_in":7200,"authorizer_refresh_token":"refreshtoken@@@6lvHeTipcCW7aEw70O8DbohrOrPXIL26TRSucQ7qtvw","func_info":[{"funcscope_category":{"id":17}},{"funcscope_category":{"id":18},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":19}},{"funcscope_category":{"id":25},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":30},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":31},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":37}},{"funcscope_category":{"id":40}},{"funcscope_category":{"id":41},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":45},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":48}},{"funcscope_category":{"id":49},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":51}},{"funcscope_category":{"id":52}},{"funcscope_category":{"id":65}},{"funcscope_category":{"id":67}},{"funcscope_category":{"id":70}},{"funcscope_category":{"id":71},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":73},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":76},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":81},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":84}},{"funcscope_category":{"id":85}},{"funcscope_category":{"id":86}},{"funcscope_category":{"id":88}},{"funcscope_category":{"id":93}},{"funcscope_category":{"id":99}},{"funcscope_category":{"id":102}},{"funcscope_category":{"id":104}},{"funcscope_category":{"id":105}},{"funcscope_category":{"id":107}},{"funcscope_category":{"id":112}},{"funcscope_category":{"id":116}},{"funcscope_category":{"id":117}},{"funcscope_category":{"id":118}},{"funcscope_category":{"id":119}},{"funcscope_category":{"id":120},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":129}},{"funcscope_category":{"id":130}},{"funcscope_category":{"id":131}},{"funcscope_category":{"id":132}},{"funcscope_category":{"id":133}},{"funcscope_category":{"id":135},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":138}},{"funcscope_category":{"id":139}},{"funcscope_category":{"id":140}},{"funcscope_category":{"id":141}},{"funcscope_category":{"id":142}},{"funcscope_category":{"id":144}},{"funcscope_category":{"id":151}},{"funcscope_category":{"id":153}},{"funcscope_category":{"id":156},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":157}},{"funcscope_category":{"id":158},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":159}},{"funcscope_category":{"id":161}},{"funcscope_category":{"id":164}},{"funcscope_category":{"id":167}},{"funcscope_category":{"id":169}},{"funcscope_category":{"id":171}},{"funcscope_category":{"id":175}},{"funcscope_category":{"id":180}},{"funcscope_category":{"id":182}},{"funcscope_category":{"id":185}},{"funcscope_category":{"id":186}}]}}
提示:
1、你的权限集里可能有,但商家授权的时候可能会没有勾选;
2、用错access_token
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
您好,错误码 48001 表示 API 未授权。这可能是因为小程序的 appId 未完成硬件设备接入,或者使用的 access_token 不正确。建议检查小程序是否在「小程序管理后台」完成了硬件设备接入,并确保使用的 access_token 是通过正确的小程序 appId 申请的
{"authorization_info":{"authorizer_appid":"wx9171fa06bfed3bc0","authorizer_access_token":"92_jJUcjwyf2CyYsLv_jjoh_CfWjun0gw4W691jBycHEZS2ld5Nn9IQqYIfWk607QDirjx9wm8pSpJdsgfNOOqjNzSFFH88Vqoqp9pFcpcHqgbvxuaLjDczdxLDGF5d443pbsHh12dVuzYYFMUPNMDeALDTSJ","expires_in":7200,"authorizer_refresh_token":"refreshtoken@@@6lvHeTipcCW7aEw70O8DbohrOrPXIL26TRSucQ7qtvw","func_info":[{"funcscope_category":{"id":17}},{"funcscope_category":{"id":18},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":19}},{"funcscope_category":{"id":25},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":30},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":31},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":37}},{"funcscope_category":{"id":40}},{"funcscope_category":{"id":41},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":45},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":48}},{"funcscope_category":{"id":49},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":51}},{"funcscope_category":{"id":52}},{"funcscope_category":{"id":65}},{"funcscope_category":{"id":67}},{"funcscope_category":{"id":70}},{"funcscope_category":{"id":71},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":73},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":76},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":81},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":84}},{"funcscope_category":{"id":85}},{"funcscope_category":{"id":86}},{"funcscope_category":{"id":88}},{"funcscope_category":{"id":93}},{"funcscope_category":{"id":99}},{"funcscope_category":{"id":102}},{"funcscope_category":{"id":104}},{"funcscope_category":{"id":105}},{"funcscope_category":{"id":107}},{"funcscope_category":{"id":112}},{"funcscope_category":{"id":116}},{"funcscope_category":{"id":117}},{"funcscope_category":{"id":118}},{"funcscope_category":{"id":119}},{"funcscope_category":{"id":120},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":129}},{"funcscope_category":{"id":130}},{"funcscope_category":{"id":131}},{"funcscope_category":{"id":132}},{"funcscope_category":{"id":133}},{"funcscope_category":{"id":135},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":138}},{"funcscope_category":{"id":139}},{"funcscope_category":{"id":140}},{"funcscope_category":{"id":141}},{"funcscope_category":{"id":142}},{"funcscope_category":{"id":144}},{"funcscope_category":{"id":151}},{"funcscope_category":{"id":153}},{"funcscope_category":{"id":156},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":157}},{"funcscope_category":{"id":158},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":159}},{"funcscope_category":{"id":161}},{"funcscope_category":{"id":164}},{"funcscope_category":{"id":167}},{"funcscope_category":{"id":169}},{"funcscope_category":{"id":171}},{"funcscope_category":{"id":175}},{"funcscope_category":{"id":180}},{"funcscope_category":{"id":182}},{"funcscope_category":{"id":185}},{"funcscope_category":{"id":186}}]}}提示:
1、你的权限集里可能有,但商家授权的时候可能会没有勾选;
2、用错access_token