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

Torch Object Storage

Copy page
Download PDF
25-INVENTORY
0025-00000002
Copy page
Download PDF
0025-00000002
Problem description​
Target bucket configuration is incorrect in the bucket inventory rule.​
Root cause​
When creating a bucket inventory rule, the target bucket's configuration does not comply with the rule. Possible reasons include:​
  • Target bucket name RoBucket is invalid.​
  • The target bucket's account ID AccountId is empty.​
  • The authorized role Role is empty.​
  • The output format Format is not set to CSV.​
Examples​
You did not fill in the details for the target bucket when setting the bucket inventory rule.​
  • The target bucket name RoBucket is set incorrectly.​
  • ​
    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"​
    ]​
    }​
    }​
    }​
    ​
  • The target bucket account ID AccountId is empty.​
  • ​
    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": "", ​
    "Role": "TosArchiveTOSInventory",​
    "Bucket": "destination-bucket",​
    "Prefix": "prefix"​
    }​
    },​
    "Schedule": { "Frequency": "Daily" },​
    "IncludedObjectVersions": "All",​
    "OptionalFields": {​
    "Field": [​
    "Size",​
    "LastModifiedDate",​
    "ETag",​
    "StorageClass",​
    "IsMultipartUploaded",​
    "EncryptionStatus",​
    "CRC64",​
    "ReplicationStatus"​
    ]​
    }​
    }​
    }​
    ​
  • The authorized role Role is empty.​
  • ​
    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"​
    ]​
    }​
    }​
    }​
    ​
  • The output format Format is not set to CSV.​
  • ​
    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": "CSC",​
    "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​
  • The target bucket name RoBucket is set incorrectly. Please refer to the Create Bucket naming rules to correctly fill in the bucket name.​
  • The output format Format currently only supports CSV.​
Last updated: 2026.10.08 17:59:17