All Products
Search
Document Center

Object Storage Service:0012-00000201

Last Updated:Apr 28, 2024

Problem description

The versionId parameter specified in the request is an empty string.

Causes

The versionId parameter must be specified with a value in a GetObject request that is initiated to obtain the specified version of an object.

Examples

The versionId parameter is not specified in the request.

GET /example HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Tue, 09 Apr 2019 02:58:06 GMT
Authorization: OSS qn6q**************:77Dv****************

Solutions

Include the versionId parameter in the GetObject request.

GET /example?versionId=CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0**** HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Tue, 09 Apr 2019 02:58:06 GMT
Authorization: OSS qn6q**************:77Dv****************

References

GetObject