Troubleshooting configuration errors and Amazon CodeCommit - Amazon CodeCommit
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Troubleshooting configuration errors and Amazon CodeCommit

The following information might help you troubleshoot configuration errors you might see when connecting with Amazon CodeCommit repositories.

Configuration error: Cannot configure Amazon CLI credentials on macOS

Problem: When you run aws configure to configure the Amazon CLI, you see a ConfigParseError message.

Possible fixes: The most common cause for this error is that a credentials file already exists. Browse to ~/.aws and look for a file named credentials. Rename or delete that file, and then run aws configure again.