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

Torch Object Storage

Copy page
Download PDF
25-INVENTORY
0025-00000014
Copy page
Download PDF
0025-00000014
Problem description​
When creating a bucket inventory rule, the source bucket and the destination bucket do not belong to the same account.​
Root cause​
The source bucket and the destination bucket in the bucket inventory rule do not belong to the same account.​
Example​
When setting a bucket inventory rule, the specified source bucket and destination bucket are under different accounts. For example, the bucket source_bucket belongs to account 2000000000000000, while destination-bucket belongs to account 2000000000000001, and the following request is sent.​
​
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​
Ensure that both the source bucket and the destination bucket in the bucket inventory rule belong to the same account.​
Last updated: 2025.10.11 16:00:28