Skip to content
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

finalizeMultipartUpload is throwing 404 error #5226

Closed
savan143 opened this issue May 16, 2024 · 3 comments
Closed

finalizeMultipartUpload is throwing 404 error #5226

savan143 opened this issue May 16, 2024 · 3 comments
Labels
duplicate This issue is a duplicate.

Comments

@savan143
Copy link

Describe the bug

We are utilizing multipart upload feature in our application. It has 4 steps.

InitializeMultipartUpload
GenerateS3SignedUrl
Upload Parts
FinalizeMultipartUpload
Here whole flow was working fine before we enabled public access block on our S3s.
After enabling this public access block we are doing all transaction using CF url instead of direct s3 url. Here First 3 steps are working fine where 4th step(FinalizeMultipartUpload) is throwing below error.

The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchUpload; Request ID: DF9DESQHKG183Q2D; S3 Extended Request ID: GAVKk1LSbjHWN6pMDw3lA3b8YjF8crE+xg8YyVjPiVxnv5wSrx1PqBcnpk3ry90r5HGOof11GaYxyz=; Proxy: null)

Can someone please help us finding the missing logic here if we are missing anything?

Current SDK version we are using is 1.12.410.

Expected Behavior

It was working fine before public access block and that's what we are expecting.

Current Behavior

FinalizeMultipartUpload method is throwing below error.

The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchUpload; Request ID: DF9DESQHKG183Q2D; S3 Extended Request ID: GAVKk1LSbjHWN6pMDw3lA3b8YjF8crE+xg8YyVjPiVxnv5wSrx1PqBcnpk3ry90r5HGOof11GaYxyz=; Proxy: null)

Reproduction Steps

Mentioned steps in description which we are following currently in our application.

Possible Solution

No response

Additional Information/Context

No response

AWS Java SDK version used

1.12.410

JDK version used

java-base:17-temurin

Operating System and version

Java

@savan143 savan143 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 16, 2024
@savan143
Copy link
Author

@debora-ito debora-ito added duplicate This issue is a duplicate. and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 17, 2024
@debora-ito
Copy link
Member

Duplicate of aws/aws-sdk-java#3111. Please track this in the v1 repo.

@debora-ito debora-ito closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue is a duplicate.
Projects
None yet
Development

No branches or pull requests

2 participants