All Products
Search
Document Center

Object Storage Service:0016-00000503

Last Updated:Apr 28, 2024

Problem description

The storage class of objects cannot be converted to Cold Archive by calling the AppendObject operation.

Causes

You initiated an AppendObject request, but the storage class specified in the request is Cold Archive. You cannot convert appendable objects to Cold Archive.

Examples

In the following AppendObject request, the x-oss-storage-class request header specifies the storage class of an object as Cold Archive.

POST /example?append&position=0 HTTP/1.1 
Host: versioning-append.oss.aliyuncs.com 
Date: Tue, 09 Apr 2019 03:59:33 GMT
Content-Length: 3
Content-Type: application/octet-stream
Authorization: OSS qn6q**************:77Dv****************
x-oss-storage-class: ColdArchive

Solutions

Specify a valid value for the x-oss-storage-class parameter in the AppendObject request. Valid values:

  • Standard

  • IA

  • Archive

References

AppendObject