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

Torch Object Storage

Copy page
Download PDF
12-REPLICATION
0012-00000005
Copy page
Download PDF
0012-00000005
Problem description​
Invalid bucket data replication rule.​
Root cause​
The user set the bucket data replication rule with a rule ID value length exceeding 254.​
Example​
When configuring the bucket data replication rule, the rule ID value length exceeded 254.​
​
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": "...255 characters omitted here...",​
"Status": "Enabled",​
"PrefixSet": ["prefix_1", "prefix_2"],​
"Destination":{​
"Bucket":"Target Bucket Name",​
"Location": "cn-beijing",​
"StorageClass": "STANDARD",​
"StorageClassInheritDirective": "DESTINATION_BUCKET"​
},​
"HistoricalObjectReplication": "Enabled"​
}]​
}​
​
Solution​
Refer to PutBucketReplication and correctly construct the bucket data replication rule, ensuring the rule ID length is less than 255.​
Last updated: 2025.10.10 18:58:07