桶数据复制规则非法。
用户设置桶数据复制规则时,规则 ID 字段取值长度超过 254。
您进行桶数据复制规则配置时,规则 ID 字段取值长度超过 254。
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": "...此处省略255个字符...", "Status": "Enabled", "PrefixSet": ["prefix_1", "prefix_2"], "Destination":{ "Bucket":"Target Bucket Name", "Location": "cn-beijing", "StorageClass": "STANDARD", "StorageClassInheritDirective": "DESTINATION_BUCKET" }, "HistoricalObjectReplication": "Enabled" }] }
参见 PutBucketReplication,正确构造桶数据复制规则,确保规则 ID 字段取值小于 255。