-
Notifications
You must be signed in to change notification settings - Fork 599
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
S3Client with UploadPartCommand is not working after updating to the latest SDK version from 3.583.0 #6859
Comments
Hi @ssafayet - thanks for reaching out. I'm not able to reproduce this error with reported version on my end. Could you share your code snippet that shows entire Multipart Upload which includes Any code changes since your last working version? |
We also get the same error since upgrading from 3.713.0 to 3.738.0. In our case, we use a regular PutObjectCommand where the body is a nodejs readable stream (NodeJS version 20.18.1 on linux x64). Could this issue be the JS cousin of aws/aws-sdk-cpp#3132 ? |
@abustany Yes, same here. Only for Readable Stream. If I convert the readable stream to buffer, the error goes away. @aBurmeseDev, I will share a code snippet to reproduce this. |
@aBurmeseDev Hi, Here is my REPO with the reproducible code. Kindly follow the readme file to reproduce the issue. Let me know if you need any help. Just to mention that if you change back the s3 client version to 3.583.0 in that repo it starts working again. |
I'm experiencing the same issue. If it's any help, I've narrowed it down to working with 3.726.0 and failing with 3.729.0. |
@macourteau That's right. Confirming that this is also the case on my side. It works till 3.726.1 then it breaks from 3.729.0 |
Thanks everyone for reporting, I was able to reproduce using @ssafayet repro although the error occurs intermittently with different file sizes. I'll bring this up internally for further investigation to understand these inconsistencies and determine the root cause. |
Checkboxes for prior research
Describe the bug
I have updated my SDK js library to 3.738.0 from 3.583.0 and now it is throwing an error after sending it via S3Client using UploadPartCommand.
Params look like this:
Error:
But this is not the last chunk. It is the number 3 chunk of 11 chunks. This has also failed for subsequent chunks.
Regression Issue
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
20.13.1
Reproduction Steps
Try to create a createMultipartUpload using s3 client and then try to upload FileStream using UploadPartCommand.
Observed Behavior
This error should occur:
Expected Behavior
FileStream should be uploaded correctly.
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: