桶清单规则的 ID 不合法。
桶清单规则的 ID 设置不合法,桶清单规则的 ID 需要符合以下要求:
您在设置桶清单规则时,ID 项填写了非法值。
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" ] } } }
请按照规范填写正确的桶清单 ID,详细格式,请参见 PutBucketInventory。