All Products
Search
Document Center

Object Storage Service:0012-00000201

Last Updated:Mar 20, 2026

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

Cause

To retrieve a specific version of an object, include a non-empty versionId value in the GetObject request.

Example

The following request omits a valid versionId value, which triggers this error:

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****************

Solution

Include a valid versionId value as a query 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