Problem description
Versioning is not enabled for the requested bucket.
Cause
You sent a GetObject request and specified a versionId to retrieve a specific version of an object. However, versioning is not enabled for the bucket that contains the object.
Example problem
Versioning is not enabled for the oss-example bucket. However, the request URL includes a versionId to retrieve a specific version of an object.
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****************Solution
Before you retrieve a specific version of an object, call the GetBucketVersioning operation to check whether versioning is enabled for the bucket.
References
该文章对您有帮助吗?