开发者社区> 问答> 正文

You are forbidden to list buckets

通过SDK调用listBuckets接口出现报错
code: "AccessDenied"
hostId: "oss-cn-beijing.aliyuncs.com"
message: "You are forbidden to list buckets."
name: "AccessDeniedError"
requestId: "5B7244C0875D829B55F033A1"
stack: "AccessDeniedError: You are forbidden to list buckets.\n at Client.requestError (/Users/liyueling/workspace/anloq/anloqProject/apiserver/apiserver/node_modules/ali-oss/lib/client.js:509:11)\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:188:7)"
status: 403

展开
收起
薛继鹏 2018-08-14 11:57:45 7734 0
2 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载