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

Torch Object Storage

Copy page
Download PDF
10-POLICY
0010-00000009
Copy page
Download PDF
0010-00000009
Problem description​
Invalid bucket policy configuration.​
Root cause​
When users set a bucket policy, the Action or NotAction value in a single policy entry is invalid, such as empty values or formats that do not match the request protocol.​
Example​
When configuring the bucket policy, the Action field in a single policy entry is empty.​
​
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",​
"Action": [""],​
"Principal": "*",​
"Resource": ["trn:tos:::bucketname/*"]​
} ​
]​
}​
​
Solution​
Refer to the Bucket Policy Template and Parameter Description to correctly construct the bucket policy and ensure the Action or NotAction values in a single policy entry are valid.​
Last updated: 2025.10.11 17:59:23