You need to enable JavaScript to run this app.
对象存储

对象存储

复制全文
08-ACL
0008-00000006
复制全文
0008-00000006

问题描述

ACL 配置非法。

问题原因

用户设置桶或对象 ACL 时,ACL 配置中的 Grants 数组长度超过 100。

问题示例

您进行桶 ACL 配置时,Grants 数组长度超过 100。

PUT /?acl HTTP/1.1
Host: bucketname.tos-cn-beijing.volces.com
Date: Fri, 30 Jul 2021 13:59:18 GMT
Authorization: authorization xxx

{   
    "Owner": { "ID": "test-cid" },
    "Grants": [{
        "Grantee": {
          "Type": "CanonicalUser",
          "ID": "test-cid"
        },
        "Permission": "FULL_CONTROL"
      }...省略剩余100个元素...]
}

解决方案

正确构造 ACL 配置,确保 Grants 数组长度不超过 100。

最近更新时间:2024.01.05 16:32:15
这个页面对您有帮助吗?
有用
有用
无用
无用