Skip to content

When deleting the empty bucket, BucketNotEmpty error is returned #2081

Answered by ashishdhingra
yinfangchen asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @darknesschen,

Good morning.

The behavior documented by you is controlled by the S3 service. Deleting objects could take some time to synchronize. You could implement retry mechanism as per logic in UtilityMethods.DeleteS3BucketWithObjectsAsync().

Thanks,
Ashish

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. s3
2 participants
Converted from issue

This discussion was converted from issue #2079 on July 29, 2022 16:28.