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 an OutputLocation node that is not supported by the RestoreObject operation.
Examples
In the following RestoreObject request, the XML body contains an OutputLocation node. This node is not supported by the RestoreObject operation. As a result, an error is reported.
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>
<OutputLocation>
</OutputLocation>
</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>