-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidPartOrder error on complete #33
Comments
Hi, thanks for the error report! I've never seen this error before, I wonder if it's a new requirement from AWS? This should be easy to solve. Here is all the relevant code: s3-stream-upload/src/main/java/alex/mojaki/s3upload/StreamTransferManager.java Lines 381 to 404 in 9dff468
Particularly important are lines 386, 390, and 404. The parts are already sorted for a different reason, we can just rearrange that. Could you make a PR? |
I made one at #34 before seeing this |
Updated |
I get the following error when using this API with smaller strings written:
According to Amazon Documentation (https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/S3/MS3CompleteMultipartUploadCompleteMultipartUploadRequest.html)
Can you maybe sort
StreamTransferManager.partETags
byPartETag.partNumber
before passing it intoCompleteMultipartUploadRequest()
?The text was updated successfully, but these errors were encountered: