桶数据复制规则非法。
用户设置桶数据复制规则时,提供的 Role 无效,导致权限校验失败。
您进行桶数据复制规则配置时,Role 字段填写错误,导致服务端利用该值进行权限校验时出现失败。
PUT /?replication HTTP/1.1 Host: bucketname.tos-cn-beijing.volces.com Date: Fri, 30 Jul 2021 08:05:36 +0000 Authorization: authorization xxx Content-Length: 120 Content-MD5: xxx { "Role": "error role", "Rules":[{ "ID": "1", "Status": "Enabled", "PrefixSet": ["abc"], "Destination":{ "Bucket": "Target Bucket Name", "Location": "cn-beijing", "StorageClass": "STANDARD", "StorageClassInheritDirective": "DESTINATION_BUCKET" }, "HistoricalObjectReplication": "Enabled" }] }
确保 Role 字段填写正确。