Describe the bug
The InvalidPart xml error response is missing the following properties:
UploadId
PartNumber
ETag
To Reproduce
aws s3api create-bucket --bucket test
aws s3api create-multipart-upload --bucket test --key mp
aws s3api complete-multipart-upload --bucket test --key mp --upload-id <upload_id> --multipart-upload file://mp.json --debug
Where mp.json is.
{
"Parts": [
{
"ETag": "e868e0f4719e394144ef36531ee6824c",
"PartNumber": 134
}
]
}
Expected behavior
The CompleteMultipartUpload call should an error like:
<?xml version="1.0"?>
<Error>
<Code>InvalidPart</Code>
<Message>One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.</Message>
<UploadId>pZLu3jNNC2tEFczV.PxnU5tQKcbroKjuv6oO_KXPKwUzDRCvC4fCwYWgNwFK0rOMl7qlqT68QG8sK0oeW49PVA--</UploadId>
<PartNumber>134</PartNumber>
<ETag>e868e0f4719e394144ef36531ee6824c</ETag>
<RequestId>3R4SS08N2VR270FV</RequestId>
<HostId>3BI189RpMofwBuic3tC02o39iSPy7+30SX92gP69L9+Gl4/GKoVcUkcJ0GIRZnNzpu6scSCyNR+87g5d8mTwDruq4b+YiVJC</HostId>
</Error>
Describe the bug
The
InvalidPartxml error response is missing the following properties:UploadIdPartNumberETagTo Reproduce
Where mp.json is.
{ "Parts": [ { "ETag": "e868e0f4719e394144ef36531ee6824c", "PartNumber": 134 } ] }Expected behavior
The
CompleteMultipartUploadcall should an error like: