

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# トラブルシューティング
<a name="codecatalyst-troubleshoot"></a>

以下は、Amazon Q で AWS Toolkit for Visual Studio から Amazon CodeCatalyst を使用する際の既知の問題に対処するためのトラブルシューティングトピックです。

**Topics**
+ [認証情報](#codecatalyst-troubleshoot-credentials)

## 認証情報
<a name="codecatalyst-troubleshoot-credentials"></a>

CodeCatalyst から Git ベースのリポジトリをクローンしようとしたときに認証情報を求めるダイアログが表示される場合、**[AWS CodeCommit 認証情報ヘルパー]** がグローバルに設定されており、CodeCatalyst に干渉している可能性があります。 AWS CodeCommit 認証情報ヘルパーの詳細については、[AWS CodeCommit ユーザーガイド」の「CLI 認証情報ヘルパーを使用した Windows AWS 上の CodeCommit リポジトリへの HTTPS 接続のセットアップ手順](https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-windows.html)」セクションを参照してください。 *AWS CodeCommit* 

**[AWS CodeCommit 認証情報ヘルパー]** の処理を CodeCommit URL のみに制限するには、次の手順を実行します。

1. 以下の場所にあるグローバル Git 設定ファイルを開きます。`%userprofile%\.gitconfig`

1. ファイル内で以下のセクションを見つけます。

   ```
                           [credential]
                               helper = !aws codecommit credential-helper $@
                               UseHttpPath = true
   ```

1. セクションを以下のように変更します。

   ```
                           [credential "https://git-codecommit.*.amazonaws.com"]
                               helper = !aws codecommit credential-helper $@
                               UseHttpPath = true
   ```

1. 変更を保存し、手順を完了してリポジトリをクローンします。