andrebsguedes opened a new issue, #5404:
URL: https://github.com/apache/arrow-rs/issues/5404

   **Describe the bug**
   Trying to complete an empty Multipart Upload to AWS S3 fails with error:
   `Generic S3 error: Error performing complete multipart request: Client error 
with status 400 Bad Request: <?xml version="1.0" encoding="UTF-8"?>
   <Error><Code>MalformedXML</Code><Message>The XML you provided was not 
well-formed or did not validate against our published schema.</Message>...`
   
   This happens because the library sends no parts on the completion request. 
AWS S3 expects at least a single empty part (previously uploaded).
   
   **To Reproduce**
   
   Create an `AsyncWrite` from `put_multipart` of `AmazonS3` store and try to 
run `AsyncWriteExt::shutdown` without writing any data to it.
   
   **Expected behavior**
   
   The completion request returns successfully and and empty object is created
   
   **Additional context**
   
   AWS S3 does not impose any minimum part size for the last part of a 
completion request.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to