0010-00000101
Updated at:
Description
The XML request body is invalid.
Cause
You initiate a request to configure object tagging, but the structure of the request body does not conform to the XML specifications.
Example
For example, you initiate the following request:
PUT /objectname?tagging
Content-Length: xxx
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: Mon, 18 Mar 2019 08:25:17 GMT
Authorization: SignatureValue
<Tagging>
<TagSet>
<Tag>
<Key>Key</Key>
<Value>Value</Value>
</Tag>
</TagSet>The preceding request lacks the close tag for Tagging, which makes the request body invalid. As a result, an error is returned.
Solution
Make sure that the request body is in the valid XML format. For a valid request, refer to the following example.
PUT /objectname?tagging
Content-Length: xxx
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: Mon, 18 Mar 2019 08:25:17 GMT
Authorization: SignatureValue
<Tagging>
<TagSet>
<Tag>
<Key>Key</Key>
<Value>Value</Value>
</Tag>
<TagSet>
</Tagging>References
Is this page helpful?