How can I resolve the "Bucket name already exists" or "BucketAlreadyExists" error from Amazon S3?
"I'm trying to create a new bucket in Amazon Simple Storage Service (Amazon S3). However, I'm getting one of the following errors:"Bucket name already exists" from the Amazon S3 console"BucketAlreadyExists" from the AWS Command Line Interface (AWS CLI) or an AWS SDK"Bucket name is already owned by you" from the Amazon S3 console"BucketAlreadyOwnedByYou" from the AWS CLI or an AWS SDKHow do I resolve this?"
"I'm trying to create a new bucket in Amazon Simple Storage Service (Amazon S3). However, I'm getting one of the following errors:"Bucket name already exists" from the Amazon S3 console"BucketAlreadyExists" from the AWS Command Line Interface (AWS CLI) or an AWS SDK"Bucket name is already owned by you" from the Amazon S3 console"BucketAlreadyOwnedByYou" from the AWS CLI or an AWS SDKHow do I resolve this?ResolutionAmazon S3 bucket names must be unique globally. If you get the "Bucket name already exists" or "BucketAlreadyExists" error, then you must use a different bucket name to create the bucket. These error messages indicate that another AWS account owns a bucket with the same name.If you get the "Bucket name is already owned by you" or "BucketAlreadyOwnedByYou" error, then check your account for a bucket with the same name. These error messages indicate that your account is already using the bucket name. You can use the Amazon S3 console to review existing buckets. Or, you can run the head-bucket AWS CLI command to confirm whether you already have a bucket with that name.Note: If you receive errors when running AWS CLI commands, make sure that you’re using the most recent AWS CLI version.Related informationHow do I create an S3 bucket?Follow"