我是靠谱客的博主 伶俐帽子,这篇文章主要介绍Create an App-Managed Bucket and Upload a File Token does not have the privilege for this request.,现在分享给大家,希望可以做个参考。
错误信息:Token does not have the privilege for this request.
解决相关连接:添加链接描述
了解scope对应的指令范围:
data:read 查看资料 该应用程序将能够读取Autodesk生态系统中所有最终用户的数据(可视和非可视)。
bucket:create 创建新的存储桶 该应用程序将能够创建它将拥有的OSS存储桶。
我将我的代码:
`httpxml.send("client_id=*********&client_secret=*******&grant_type=client_credentials&scope=data:read");
改为:
`httpxml.send("client_id=*********&client_secret=*******&grant_type=client_credentials&scope=bucket:create");
ok了
最后
以上就是伶俐帽子最近收集整理的关于Create an App-Managed Bucket and Upload a File Token does not have the privilege for this request.的全部内容,更多相关Create内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复