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

0008-00000015

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

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

问题描述

x-tos-acl 头域取值非法。

问题原因

用户采用 x-tos-acl 头域设置桶或对象 ACL 时,该头域取值非法。该头域的有效取值如下:

  • private
  • public-read
  • public-read-write
  • authenticated-read
  • bucket-owner-read
  • bucket-owner-full-control
  • bucket-owner-entrusted

    注意

    仅对象 ACL 支持 bucket-owner-entrusted。

问题示例

您配置桶 ACL 时,x-tos-acl 头域取值非法。

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

解决方案

确保 x-tos-acl 头域取值合法。