Skip to content

The retry request of PutBucket will behave differently between regions. #2084

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

You must be logged in to vote

@rmt2021 Thanks for reporting the scenario. The possible for different behavior in us-east-1 region is due to legacy reasons and maintaining backward compatibility. We have seen similar issue in the past in other SDK(s) where similar behavior was observed. Please refer S3: Error Responses for more details where for error code BucketAlreadyOwnedByYou it mentions that The bucket that you tried to create already exists, and you own it. Amazon S3 returns this error in all AWS Regions except in the US East (N. Virginia) Region (us-east-1). For legacy compatibility, if you re-create an existing bucket that you already own in us-east-1, Amazon S3 returns 200 OK and resets the bucket access contr…

Replies: 2 comments

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 #2083 on August 04, 2022 16:20.