An error occurred InvalidBucketName when calling the CreateBucket operation The specified bucket is not valid

0 votes

Hi Guys,

I am trying to create an S3 bucket from AWS CLI. But it is showing me the below error.

$ aws s3api create-bucket --bucket BucketNew --region us-east-1
An error occurred (InvalidBucketName) when calling the CreateBucket operation: The specified bucket is not valid.
Oct 7, 2020 in AWS by akhtar
• 38,230 points
8,449 views

1 answer to this question.

0 votes

Hi@akhtar,

You can't use an uppercase letter in your bucket name. AWS will not allow you to use an uppercase letter in the bucket name. You can use the below syntax.

$ aws s3api create-bucket --bucket bucketnew --region us-east-1
answered Oct 7, 2020 by MD
• 95,440 points

Related Questions In AWS

0 votes
1 answer
+1 vote
2 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP