Troubleshooting configuration errors and AWS CodeCommit - AWS CodeCommit
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Troubleshooting configuration errors and AWS CodeCommit

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

Configuration error: Cannot configure AWS CLI credentials on macOS

Problem: When you run aws configure to configure the AWS 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.