Problem description
The error is returned when the value of the x-oss-storage-class parameter in the request header is ColdArchive.
Causes
This error may be caused by the following reasons:
The operation, such as AppendObject, does not support the Cold Archive storage class.
The account that you use to call the operation or the region in which the bucket resides does not support the Cold Archive storage class.
Examples
For example, you initiate the following request:
POST /example?append&position=0 HTTP/1.1
Host: bucket-append.oss.aliyuncs.com
Date: Tue, 09 Apr 2019 03:59:33 GMT
Content-Type: application/octet-stream
Authorization: OSS qn6q**************:77Dv****************
x-oss-storage-class: ColdArchive
In the preceding request, the request header x-oss-storage-class
is set to ColdArchive. However, the storage class of appendable objects cannot be Cold Archive and also cannot be converted into Cold Archive. As a result, the error is returned.
Solutions
Make sure that the operation that you call and the region in which the bucket resides support the Cold Archive storage class. If the Cold Archive storage class is not supported, you can use one of the following storage classes that are supported:
Standard: Standard
IA: IA
Archive: Archive