Skip to content

ListObjectsV2 uses incorrect XML structure for <Owner> element #226

@korydraughn

Description

@korydraughn

From https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html#API_ListObjectsV2_ResponseSyntax.

I've stripped the examples so only the important parts are visible. Notice the <Owner> elements.

<?xml version="1.0" encoding="UTF-8"?>
<ListBucketResult>
   <Contents>
      <Owner>
         <DisplayName>string</DisplayName>
         <ID>string</ID>
      </Owner>
   </Contents>
</ListBucketResult>

Here's what the S3 API returns.

<?xml version="1.0" encoding="utf-8"?>
<ListBucketResult>
    <Contents>
        <Owner>kory</Owner>
    </Contents>
</ListBucketResult>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions