[Solved] AWS Error: TooManyBuckets - Bucket Limit Exceeded


If you get the following error:

│ Error: creating Amazon S3 (Simple Storage) Bucket (<your-bucket-name): TooManyBuckets: You have attempted to create more buckets than allowed │ status code: 400, request id: 0P1TV2VCEDKGFQNY, host id: gc9di71ONabECoBYkkzc7Lmqs0DOo2DVhV2kqCgNruNO6Okm5K3EXzosdf5MCxP8uI= │

The reason for the problem

There is a soft limit of 100 S3 buckets per AWS account.

Find out more

https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html

The solution to the problem

Option 1 - Quick fix

Remove unused S3 buckets.

Option 2 - The next steps

If you need additional buckets, submit a support ticket to increase your limit. However, there is a hard limit of 1000 S3 buckets per account.