Problem description
The error is returned if the value of the encoding-type
parameter in a request is invalid.
Causes
The value of the encoding-type
parameter in request parameters or request headers is invalid. The parameter value must be url, url2, or base64.
Examples
https://junchengtest.oss-cn-chengdu.aliyuncs.com/5e268a36-1805e55ecba.mp4?uploads
Authorization:OSS LTAI5tKEDK5QxcL9g7uK****:SLw8cfY3lD8DYzRuFndkgF****=
Date:Fri, 10 Feb 2023 03:52:53 GMT
encoding-type:urlencode
Sample error response:
<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>
Solutions
When you upload an object by using multipart upload, set encoding-type
to url, url2, or base64.