桶数据复制规则非法。
用户设置桶数据复制规则时,源桶和目标桶一致。
您为桶 bucketname 配置复制规则时,目标桶仍为桶 bucketname。
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": "Your role", "Rules":[{ "ID": "1", "Status": "Enabled", "PrefixSet": ["abc"], "Destination":{ "Bucket":"bucketname", "Location": "cn-beijing", "StorageClass": "STANDARD", "StorageClassInheritDirective": "DESTINATION_BUCKET" }, "HistoricalObjectReplication": "Enabled" }] }
确保复制规则中的目标桶非本次请求访问的桶。