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

0008-00000010

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

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

问题描述

ACL 配置非法。

问题原因

用户设置桶或对象 ACL 时,Type 字段取值非 CanonicalUserGroup

问题示例

您配置桶 ACL 时,Type 字段取值非法。

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": "abc",
          "ID": "test-cid"
        },
        "Permission": "FULL_CONTROL"
      }]
}

解决方案

参见 PutBucketACLPutObjectACL,正确构造 ACL 配置,确保 Type 字段取值合法。