You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
12-REPLICATION
0012-00000008
Copy page
Download PDF
0012-00000008
Problem description​
Bucket data replication rule is invalid.​
Root cause​
The PrefixSet array contains empty values when the user sets the bucket data replication rule.​
Example​
When you configure the bucket data replication rule, the PrefixSet array contains empty values.​
​
PUT /?replication HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
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": ["", "prefix_2"],​
"Destination":{​
"Bucket": "Target Bucket Name",​
"Location": "cn-beijing",​
"StorageClass": "STANDARD",​
"StorageClassInheritDirective": "DESTINATION_BUCKET"​
},​
"HistoricalObjectReplication": "Enabled"​
}]​
}​
​
Solution​
Refer to PutBucketReplication to properly construct the bucket data replication rule and ensure no empty values exist in the PrefixSet array.​
Last updated: 2025.10.10 18:58:07