Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Different behaviour from the AWS Java SDK when deleting a non-existing item #191

Open
kebbaman opened this issue Nov 22, 2023 · 0 comments

Comments

@kebbaman
Copy link

As stated in the official documentation https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/AmazonS3.html#deleteObject-java.lang.String-java.lang.String- and as addressed by issue #97 the delete API has a different behaviour than the counterpart on the official client.
Using the findify library, attempting to delete an object that does not exist will result in a 404 object not found AmazonS3Exception.
Whereas the official client in the same exact situation would return a success response.
in the mentioned issue i saw a pull request that addresses the described problem, would it be possible to merge it? Or would it be possible for you to allign the behaviour of this specific case to the behaviour that the official client would have in the same situation?
Hoping for a reply,
Thank you in advance.
Best regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant