Skip to content

PutObjectTaggingRequest: XML malformed error on Dell ECS #2114

Answered by ashishdhingra
Tobias-08 asked this question in Q&A
Discussion options

You must be logged in to vote

@Tobias-08 Good afternoon. While, PutObjectTagging does specify the below syntax for request, looks like the use of xmlns is not fully enforced by AWS S3 service.

PUT /{Key+}?tagging&versionId=VersionId HTTP/1.1
Host: Bucket.s3.amazonaws.com
Content-MD5: ContentMD5
x-amz-sdk-checksum-algorithm: ChecksumAlgorithm
x-amz-expected-bucket-owner: ExpectedBucketOwner
x-amz-request-payer: RequestPayer
<?xml version="1.0" encoding="UTF-8"?>
<Tagging xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
   <TagSet>
      <Tag>
         <Key>string</Key>
         <Value>string</Value>
      </Tag>
   </TagSet>
</Tagging>

I tried using Fiddler, and see the below request sent to AWS service:

PUT https://<…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@ashishdhingra
Comment options

@ashishdhingra
Comment options

@Tobias-08
Comment options

@ashishdhingra
Comment options

@Tobias-08
Comment options

Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. s3
2 participants