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

Torch Object Storage

Copy page
Download PDF
10-POLICY
0010-00000017
Copy page
Download PDF
0010-00000017
Problem description​
bucket policy configuration is invalid.​
Root cause​
when setting the bucket policy, the condition key value in a Condition configuration is invalid.​
Example​
when configuring the bucket policy, the condition key value in the Condition configuration is an invalid value xxx.​
​
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": {"IpAddress":{"xxx": "192.168.0.0/24"}}​
} ​
]​
}​
​
Solution​
refer to bucket policy templates and parameter descriptions to properly construct the bucket policy configuration and ensure valid condition key values.​
Last updated: 2026.10.08 17:20:28