-
Notifications
You must be signed in to change notification settings - Fork 646
Closed
Labels
bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
So I have a NestJS app, there I am using @aws-sdk/s3-client to upload a file in multiple part. The thing is that UploadPart is generating a checksum for each UploadPartCommand. So can you kindly confirm if this is a bug?
I mean I also suspect that I am doing something wrong, but my console.logs are not saying that
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v22.12.0
Reproduction Steps
- Clone the repo
cd microservices/grpc.pnpm i --frozen-lockfile.cp apps/file-upload/.env.example apps/file-upload/.env.- Change the env variables to the ones you get from the AWS and remove the
OBJECT_STORAGE_ENDPOINT. It should be used only for local testing with Minio. nx serve file-upload.nx e2e file-upload-e2e.
Observed Behavior
It says something like the calculated CRC32 does not match the one specified in the CompleteMultipartUploadCommand.
Expected Behavior
Just complete the multipart upload.
Possible Solution
Dunno.
Additional Information/Context
- Here is where you can see the
UploadPartCommandis returning a checksum for each part. - While you can clearly see that I have said please use a
FULL_OBJECTchecksum check here. BTW feel free to add moreconsole.logs to see if I am setting those configs correctly. - And here is where I try to complete the file upload.
BTW if you're interested in my test, you can find it here.
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.