You need to enable JavaScript to run this app.
导航

0008-00000006

最近更新时间2024.01.05 16:32:15

首次发布时间2024.01.05 16:32:15

问题描述

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。