0020-00000002

问题描述

请求中缺少inventoryId参数。

问题原因

GetBucketInventory或DeleteBucketInventory请求中,缺少必选参数inventoryId

问题示例

您通过DeleteBucketInventory请求删除指定ID的清单规则,但是请求中缺少inventoryId,导致请求错误。

DELETE /?inventory HTTP/1.1
Date: GMT Date
Content-Length:ContentLength
Content-Type: application/xml
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: SignatureValue

解决方案

在URL请求中增加inventoryId参数。

DELETE /?inventory&inventoryId=list1 HTTP/1.1
Date: GMT Date
Content-Length:ContentLength
Content-Type: application/xml
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: SignatureValue

相关文档