0016-00000831

Updated at:

Problem description

The value of the CommentCharacter node in the XML request body of a SelectObject request is invalid.

Causes

A SelectObject request failed because the value of the CommentCharacter node in the XML request body is invalid.

Examples

In the following request, the value of the CommentCharacter node is abc, which is invalid.

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>
         <CSV>
         		<CommentCharacter>abc</CommentCharacter>
         </CSV>
    </InputSerialization>
    <OutputSerialization>
        ......
    </OutputSerialization>
</SelectRequest>

Solutions

Ensure that the value of the CommentCharacter node in the request is valid. This node specifies the comment symbol for a CSV object. The value must be Base64-encoded. The default value is empty, which indicates that no comment symbol is used.

References