All Products
Search
Document Center

Object Storage Service:0016-00000702

Last Updated:Aug 21, 2023

Problem description

An object of the Standard or IA storage class cannot be restored.

Causes

You initiated a RestoreObject request on a Standard or IA object.

Examples

You initiate a RestoreObject request on a Standard or IA object named oss.jpg. The RestoreObject operation is applicable only to Archive, Cold Archive, and Deep Cold Archive objects.

POST /oss.jpg?restore HTTP/1.1
Host: oss-archive-example.oss-cn-hangzhou.aliyuncs.com
Date: Sat, 15 Apr 2017 07:45:29 GMT
Authorization: OSS e1Unnbm1rg****:21qtGJ+ykDVmdy4eyu+N****

Solutions

Make sure that the storage class of the object that you want to perform the RestoreObject operation on is Archive, Cold Archive, or Deep Cold Archive. You can view the storage class of an object by calling the HeadObject operation.

References

RestoreObject