0016-00000826

Updated at:

Problem description

The value of the CompressionType parameter in the XML request body of a SelectObject request is invalid.

Causes

You initiated a SelectObject request that contains an invalid value for the CompressionType node in the XML request body.

Problem example

In the following example, the value of the CompressionType node is abc. This value is invalid and results in an error.

POST /oss-select/bigcsv_normal.csv?x-oss-process=csv%2Fselect HTTP/1.1
Date: Fri, 25 May 2018 22:11:39 GMT
Authorization: OSS qn6q**************:77Dv****************
Range: bytes=1024-2048
Host: host name
<?xml version="1.0"?>
<SelectRequest>
    <Expression>...</Expression>
    <InputSerialization>
         <CompressionType>abc</CompressionType>
    </InputSerialization>
    <OutputSerialization>
        ......
    </OutputSerialization>
</SelectRequest>

Solution

Ensure that the value of the CompressionType node in the XML request body is None or GZIP.

References