You need to enable JavaScript to run this app.
文档中心
对象存储

对象存储

复制全文
下载 pdf
25-INVENTORY
0025-00000003
复制全文
下载 pdf
0025-00000003
问题描述​
桶清单规则中目标桶的清单报告前缀不能以正斜线(/ )结尾。​
问题原因​
创建桶清单规则时,目标桶的清单报告前缀以正斜线(/ )结尾。​
问题示例​
您在设置桶清单规则时,目标桶(Destination)的清单报告前缀(Prefix)以正斜线(/ )结尾。​
​
PUT /?inventory&id=report1 HTTP/1.1​
Host: BucketName.tos-cn-beijing.volces.com​
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"​
]​
}​
}​
}​
​
解决方案​
请正确设置目标桶清单报告的前缀,删除前缀前的正斜线。​
​
最近更新时间:2026.09.23 14:26:01
这个页面对您有帮助吗?
有用
有用
无用
无用