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

Torch Object Storage

Copy page
Download PDF
17-OBJECT
0017-00000408
Copy page
Download PDF
0017-00000408
Problem description​
policy form field error in PostObject request.​
Root cause​
The user initiates a PostObject request, but in the policy form field, when an element in conditions is of Map type, the Map size is not 1.​
Example​
Assuming the policy form field text is constructed as follows:​
​
{​
"conditions": [​
{"bucket": "examplebucket","key":"abc"}​
],​
"expiration":"2023-12-28T15:04:05Z"​
}​
​
If you use it to construct the policy form field and send the request, this error will be returned.​
Solution​
See PostObject for correctly constructing the request form field and ensuring the policy form field values are valid.​
Last updated: 2025.10.11 16:00:22