Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

$ aws s3 ls

Could not connect to the endpoint URL: "https://s3.us-east-1a.amazonaws.com/"

What could be the problem?

1 Answer

0 votes
by (44.4k points)

Your region would have not been set correctly in the ~/.aws/config file. In that file, you have something like this:

[default]

region=us-east-1a

 

Fix the region to us-east-1 replacing us-east-1a then it will work.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

Browse Categories

...