Troubleshooting problems between Amazon CodeCatalyst and the AWS SDKs or the AWS CLI - Amazon CodeCatalyst

Troubleshooting problems between Amazon CodeCatalyst and the AWS SDKs or the AWS CLI

The following information can help you troubleshoot common issues when working with CodeCatalyst and the AWS CLI or the AWS SDKs.

I receive an error when I enter aws codecatalyst at a command line or terminal saying it's an invalid choice

Problem: When I try to use the AWS CLI with CodeCatalyst, one or more of the aws codecatalyst commands are not recognized as valid.

Solution: The most common cause for this problem is that you are using a version of the AWS CLI that does not contain the most recent updates for the latest services and commands. Update your installation of the AWS CLI and then try again. For more information see Setting up to use the AWS CLI with CodeCatalyst.

I receive a credentials error when I run aws codecatalyst commands

Problem: When I try to use the AWS CLI with CodeCatalyst, I receive a message stating You can configure credentials by running "aws configure". or Unable to locate authorization token.

Solution: You must configure an AWS CLI profile to work with CodeCatalyst commands. For more information see Setting up to use the AWS CLI with CodeCatalyst.