-
Notifications
You must be signed in to change notification settings - Fork 20
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
The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed. #27
Comments
I am getting this error as well. |
@jeffbski-rga i fix it , i 'm using lambda function on AWS and the memory is limited so after many loops the memory is full so the system can't know our file that's why we have this error "The specified upload does not exis" , so i set the a dynamic number of parts depend on the size like that 👍
So i have always only 10 loops and it works , i can help you if you have a screenshot of your error |
It happens for me as well and I can reproduce the error on the small files. From what I see the error happens, if the file size is less than copy_part_size_bytes parameter. |
@hajjimurad the problem that the Lambda function have a limited memory (max 512 mo) so if the for loop has many loops the lambda function is out of service that why it return this error , i solve it by limit the number of loops at 10 and i divide the size /10 wo we have always 10 part |
@Fares92 in my case I was getting the error in a regular script, not in Lambda. |
@Fares92 I figured out that my problem was when I use it with a file size less than 5MB which is not supported by multipart apparently. So locally I use normal s3 copy for smaller than 5MB and then multipart copy for larger files. |
The 5MB minimum file size limit is self-imposed by this module. It's a bug. I fixed it and made a pull request: #45 |
i am still getting this error |
@namdiemefo do you mean you applied my fix and you still get the error? |
yes i did and im still getting the error . i followed the tutorials of both https://gist.github.com/nick-ChenZe/71670af034744ee3fe9d801de632836d and |
` function startUpload(req, res, next) {
} function uploadPart(multipart, partParams, numPartsLeft, tryNumber) {
} function completeMultipartUpload(doneParams) { ` |
May I doubt that you applied my fix? It seems like you didn't even use Why not use a gist or something to post your code? |
my bad , i used the aws-sdk . here is the full code https://gist.github.com/namdiemefo/4db23767b9be11857383c5e3d5378114 |
My advise: Use the |
The module is for copying from one bucket to another . I’m trying to upload large files from the browser to s3
Sent from Yahoo Mail for iPhone
On Sunday, March 6, 2022, 12:47 AM, Jonas Petersen ***@***.***> wrote:
My advise: Use the aws-s3-multipart-copy module.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
any solution on this ? I'm getting same error The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed. |
same error here, any solution? |
I don't know if it helps anyone but what I did was this. |
I got the same error 😞 |
when using copy multipart in the middle of the copy action , i have this error message "The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed." i use log message to show errors so some parts was copied sucessfuly but after this error all the action was aborted , does anyone has an idea
The text was updated successfully, but these errors were encountered: