0016-00000827
Updated at:
Problem description
The FileHeaderInfo node in the XML request body of the SelectObject request has an invalid value.
Causes
You initiated a SelectObject request that failed because the FileHeaderInfo node in the XML request body has an invalid value.
Examples
In the following request, the value of the FileHeaderInfo node is abc. This value 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>
<FileHeaderInfo>abc</FileHeaderInfo>
</CSV>
</InputSerialization>
<OutputSerialization>
......
</OutputSerialization>
</SelectRequest>Solutions
Ensure that the FileHeaderInfo node in the request has a valid value. This optional node specifies the header of a CSV object. Valid values are:
Use: The CSV object contains a header, and the column names in the header can be used in the query.
Ignore: The CSV object contains a header, but its column names cannot be used in the query.
None (default): The CSV object does not contain a header.
Related documents
Is this page helpful?