You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found Aws\S3\Model\MultipartUpload\UploadBuilder's upload() function generates an invalid request element for Complete Multipart Upload.
According to the S3 API Reference (API Version 2006-03-01)(1), the top level XML element should be CompleteMultipartUpload. However upload() generates MultipartUpload instead. I ran into this problem while running the SDK against a S3 API compatible storage software.
Thank you for looking into this. I checked AWS SDK for Java and Ruby, and found that they have been using CompleteMultipartUpload element from very beginning.
My colleague tried the latest SDK on the master branch against the S3 API compatible storage and found that multipart upload works now. Thanks a lot for working on the fix!
Hi,
I found Aws\S3\Model\MultipartUpload\UploadBuilder's
upload()
function generates an invalid request element for Complete Multipart Upload.According to the S3 API Reference (API Version 2006-03-01)(1), the top level XML element should be
CompleteMultipartUpload
. Howeverupload()
generatesMultipartUpload
instead. I ran into this problem while running the SDK against a S3 API compatible storage software.(1) http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadComplete.html
I believe the resource file
s3-2006-03-01.php
has the wrong element:https://github.com/aws/aws-sdk-php/blob/d332784fc6/src/Aws/S3/Resources/s3-2006-03-01.php#L119
Could you please change it to
CompleteMultipartUpload
so that we can run the SDK against any S3 API compatible storage?Thanks,
The text was updated successfully, but these errors were encountered: