0017-00000605

Updated at:

OSS returns this error when the XML body of your request contains more than one root node, which makes it invalid XML.

Problem description

The error is returned because the XML body of the request is not in a valid format. More than one root node exists.

Causes

An XML document must have exactly one root node. If the request body contains two or more top-level elements, OSS rejects the request with this error.

Examples

The following example shows a valid XML body for a PutBucket request with a single root node.

Valid XML — a single root element:

<?xml version="1.0" encoding="UTF-8"?>
<CreateBucketConfiguration>
    <StorageClass>Standard</StorageClass>
</CreateBucketConfiguration>

Solutions

Check the XML body in your request and make sure it has exactly one root node. Use the error message to identify which request is affected, then correct the XML structure before retrying.

References

PutBucket