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

Torch Object Storage

Copy page
Download PDF
25-INVENTORY
0025-00000006
Copy page
Download PDF
0025-00000006
Problem description​
The bucket inventory rule ID is invalid.​
Root cause​
The bucket inventory rule ID is set incorrectly. The bucket inventory rule ID must meet the following requirements:​
  • Length must be between 0 and 64 characters.​
  • Only lowercase letters a-z, uppercase letters A-Z, digits 0-9, hyphens (-), underscores (_), and periods (.) are allowed.​
  • The first and last characters must be lowercase letters a-z, uppercase letters A-Z, or digits 0-9.​
Example ​
You entered an invalid value for the ID field when setting the bucket inventory rule.​
​
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​
Enter the correct bucket inventory ID according to the specifications. For detailed format, refer to PutBucketInventory.​
Last updated: 2025.10.11 16:00:29