0010-00000107
Updated at:
Problem description
The XML request body of the request to configure object tagging lacks the Key child node and/or the Value child node.
Causes
You initiate a PutObjectTagging request to configure object tagging, but the Tag/Key child node and/or the Tag/Value child node are not specified in the XML request body.
Examples
For example, you initiate the following request:
PUT /objectname?tagging
Content-Length: 114
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: Mon, 18 Mar 2019 08:25:17 GMT
Authorization: SignatureValue
<Tagging>
<TagSet>
<Tag>
<NoKey>Key</NoKey>
<NoValue>Value</NoValue>
</Tag>
</TagSet>
</Tagging>
In the preceding request, the tag does not contain the Key child node and the Value child node. As a result, an error is reported.
Solutions
Make sure that the XML request body contains the Tag/Key and Tag/Value child nodes.
PUT /objectname?tagging&versionId=CAEQExiBgID.jImWlxciIDQ2ZjgwODIyNDk5MTRhNzBiYmQwYTZkMTYzZjM0****
Content-Length: 90
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: Wed, 24 Jun 2020 08:58:15 GMT
Authorization: OSS4-HMAC-SHA256 Credential=LTAI********************/20250417/cn-hangzhou/oss/aliyun_v4_request,AdditionalHeaders=content-length,Signature=a7c3554c729d71929e0b84489addee6b2e8d5cb48595adfc51868c299c0c218e
<Tagging>
<TagSet>
<Tag>
<Key>age</Key>
<Value>18</Value>
</Tag>
</TagSet>
</Tagging>
References
Is this page helpful?