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

$ aws s3 ls

Could not connect to the endpoint URL: ""

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:




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