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

Torch Object Storage

Copy page
Download PDF
10-POLICY
0010-00000003
Copy page
Download PDF
0010-00000003
Problem description​
Invalid bucket policy configuration.​
Root cause​
When setting the bucket policy, multiple policies have the same value in the Sid field.​
Example​
You have duplicate values in the Sid field when configuring the bucket policy.​
​
PUT /?policy HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
​
{​
"Version": "2012-10-17",​
"Statement": [​
{​
"Sid": "1",​
"Effect": "Allow",​
"Principal":"*",​
"Action": ["tos:Get*"],​
"Resource": ["trn:tos:::bucketname/*"]​
},​
{​
"Sid": "1",​
"Effect": "Deny",​
"Principal":"*",​
"Action": ["tos:Delete*"],​
"Resource": ["trn:tos:::bucketname/*"]​
}​
]​
}​
​
Solution​
Refer to the bucket policy template and parameter explanation to correctly create the bucket policy configuration and ensure the Sid field values are unique.​
Last updated: 2026.10.08 17:20:28