创建桶清单规则时,源桶和目标桶不属于同一个账号。
桶清单规则中的源桶和目标桶不属于同一个账号。
您在设置桶清单规则时,所填写的源桶和目标桶不在一个账号下,例如桶 source_bucket 属于账号2000000000000000,destination-bucket 属于账号2000000000000001,发送如下请求。
PUT /?inventory&id=report1 HTTP/1.1 Host: source_bucket.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" ] } } }
请确保桶清单规则的源桶和目标桶均属于同一个账号。