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

Torch Object Storage

Copy page
Download PDF
10-POLICY
0010-00000013
Copy page
Download PDF
0010-00000013
Problem description​
Invalid bucket policy configuration.​
Root cause​
The Condition setting in the bucket policy is invalid. The valid Condition configuration should be a Map type, where the Map's key must be a string, and the value must be another Map (with string keys and values that are either strings or lists of strings).​
Example​
The Condition setting in your bucket policy configuration is invalid.​
​
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": ["tos:*"],​
"Principal": "*",​
"Resource": ["trn:tos:::bucketname/*"],​
"Condition": {"abc":123}​
} ​
]​
}​
​
Solution​
Refer to Bucket Policy Templates and Parameter Descriptions to correctly construct the bucket policy and ensure the Condition setting is valid.​
Last updated: 2025.10.11 17:59:22