Problem description
Multiple Days nodes exist in the XML body of the RestoreObject request.
Causes
You initiated a RestoreObject request, but the XML body contains multiple Days nodes. You can specify only one Days node in a RestoreObject request.
Examples
In the following RestoreObject request, multiple Days nodes exist in the XML body of the RestoreObject request. An error is reported if the number of Days nodes exceeds the limit.
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>1</Days>
<Days>6</Days>
</RestoreRequest>
Solutions
Make sure that the XML body of the RestoreObject request contains only one Days node.
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>