全部產品
Search
文件中心

Object Storage Service:0017-00000235

更新時間:Apr 15, 2025

問題描述

請求中encoding-type參數指定的編碼方法無效。

問題原因

請求參數或要求標頭中的encoding-type參數不合法, 參數僅支援url、 url2以及base64。

問題樣本

https://junchengtest.oss-cn-chengdu.aliyuncs.com/5e268a36-1805e55ecba.mp4?uploads
Authorization:OSS LTAI****************:PCX5************************
Date:Fri, 10 Feb 2023 03:52:53 GMT
encoding-type:urlencode

錯誤響應樣本:

<Error>
    <Code>InvalidArgument</Code>
    <Message>Invalid Encoding Method specified in Request</Message>
    <RequestId>63E5C184D9A9023037C50687</RequestId>
    <HostId>junchengtest.oss-cn-chengdu.aliyuncs.com</HostId>
    <ArgumentName>encoding-type</ArgumentName>
    <ArgumentValue>urlencode</ArgumentValue>
</Error>

解決方案

分區上傳時,encoding-type參數不能使用其他的編碼方法,只能使用支援的url、url2以及base64。

相關文檔

InitiateMultipartUpload