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

0008-00000005

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

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

问题描述

ACL 配置非法。

问题原因

用户设置桶或对象 ACL 时,ACL 缺少 Owner 或 Grants 配置项。

问题示例

您配置 ACL 时,请求 body 中的 ACL 无 Owner 配置项。

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

{   
    "Grants": [{
        "Grantee": {
          "Type": "CanonicalUser",
          "ID": "test-cid"
        },
        "Permission": "FULL_CONTROL"
      }]
}

解决方案

参见 PutBucketACLPutObjectACL,正确构造 ACL 配置。