文档

0016-00000831

更新时间:

问题描述

SelectObject请求的请求体XML中CommentCharacter节点取值不合法。

问题原因

您发起了SelectObject请求,但是请求体XML中CommentCharacter节点取值不合法,导致请求错误。

问题示例

以下请求中CommentCharacter节点取值为abc,取值不合法。

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 LTAIJPLocA0fD:FC/9JRbBGRw4o2QqdaL246Px****
Range: bytes=1024-2048
Host: host name
<?xml version="1.0"?>
<SelectRequest>
    <Expression>...</Expression>
    <InputSerialization>
         <CSV>
         		<CommentCharacter>abc</CommentCharacter>
         </CSV>
    </InputSerialization>
    <OutputSerialization>
        ......
    </OutputSerialization>
</SelectRequest>

解决方案

确保请求中CommentCharacter节点取值合法。该节点用于指定CSV的注释符,格式为Base64编码,默认值为空(即没有注释符)。

相关文档

  • 本页导读 (1)
文档反馈