All Products
Search
Document Center

Object Storage Service:0016-00000713

Last Updated:Apr 29, 2024

Problem description

The XML body of a RestoreObject request contains a node that is not supported by the RestoreObject operation.

Causes

You initiated a RestoreObject request, but the XML body contains a Type node that is not supported by the RestoreObject operation.

Examples

In the following request, the XML body contains a Type node. The node is not supported by the RestoreObject operation and causes an error.

POST /coldarchiveobject?restore HTTP/1.1
Host: cold-archive-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: AWS qn6q**************:77Dv****************
Date: Tue, 21 Apr 2020 11:09:19 GMT
<RestoreRequest>
  <Days>2</Days>
  <Type>
  </Type>
</RestoreRequest>

Solutions

Make sure that the XML body of a RestoreObject request is valid.

POST /coldarchiveobject?restore HTTP/1.1
Host: cold-archive-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************
Date: Tue, 21 Apr 2020 11:09:19 GMT
<RestoreRequest>
  <Days>2</Days>
</RestoreRequest>

References

RestoreObject