0016-00000610
Updated at:
Problem description
The value of the Quiet node in the request body of a DeleteMultipleObjects request is invalid.
Causes
You sent a DeleteMultipleObjects request, but the value of the Quiet node in the XML request body does not comply with the API specification.
Examples
In the following DeleteMultipleObjects request, the value of the Quiet node is test, which is invalid.
POST /?delete HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Wed, 29 Feb 2012 12:26:16 GMT
Content-Length:151
Content-MD5: ohhnqLBJFiKkPSBO1eNaUA==
Authorization: OSS qn6q**************:77Dv****************
<?xml version="1.0" encoding="UTF-8"?>
<Delete>
<Quiet>test</Quiet>
<Object>
<Key>multipart.data</Key>
</Object>
<Object>
<Key>test.jpg</Key>
</Object>
<Object>
<Key>demo.jpg</Key>
</Object>
</Delete>Solutions
The Quiet node enables the simple response mode. The value can be one of the following:
true: Enables the basic mode. In this mode, Object Storage Service (OSS) does not return a response body.
false: Enables the verbose mode. In this mode, the response body from OSS includes the results for each deleted object. This is the default mode.
Ensure that the Quiet node in the XML request body has a valid value.
POST /?delete HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Wed, 29 Feb 2012 12:26:16 GMT
Content-Length:151
Content-MD5: ohhnqLBJFiKkPSBO1eNaUA==
Authorization: OSS qn6q**************:77Dv****************
<?xml version="1.0" encoding="UTF-8"?>
<Delete>
<Quiet>false</Quiet>
<Object>
<Key>multipart.data</Key>
</Object>
<Object>
<Key>test.jpg</Key>
</Object>
<Object>
<Key>demo.jpg</Key>
</Object>
</Delete>References
Is this page helpful?