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

Torch Object Storage

Copy page
Download PDF
25-INVENTORY
0025-00000003
Copy page
Download PDF
0025-00000003
Problem description​
The inventory report prefix for the target bucket in the bucket inventory rule cannot end with a forward slash (/).​
Root cause​
When creating a bucket inventory rule, the inventory report prefix for the target bucket ends with a forward slash (/).​
Example​
When setting the bucket inventory rule, the inventory report prefix (Prefix) of the target bucket (Destination) ends with a forward slash (/).​
​
PUT /?inventory&id=report1 HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Mon, 31 Oct 2016 12:00:00 GMT​
Authorization: authorization string​
Content-Length: length​
{​
"InventoryConfiguration": {​
"Id": "id",​
"IsEnabled": "true",​
"Filter": {​
"Prefix": "prefix"​
},​
"Destination": {​
"TOSBucketDestination": {​
"Format": "CSV",​
"AccountId": "2000000000000000", ​
"Role": "TosArchiveTOSInventory",​
"Bucket": "destination-bucket",​
"Prefix": "/prefix1"​
}​
},​
"Schedule": { "Frequency": "Daily" },​
"IncludedObjectVersions": "All",​
"OptionalFields": {​
"Field": [​
"Size",​
"LastModifiedDate",​
"ETag",​
"StorageClass",​
"IsMultipartUploaded",​
"EncryptionStatus",​
"CRC64",​
"ReplicationStatus"​
]​
}​
}​
}​
​
Solution ​
Set the target bucket inventory report prefix correctly by removing the preceding forward slash from the prefix.​
Last updated: 2025.10.11 16:00:29