If you facing these issues while connecting to the Git or Codecommit, follow the below steps:
Error:
fatal: unable to access 'https://git-codecommit.ap-south-1.amazonaws.com/v1/repos/MyRepo/': The requested URL returned error: 403
Follow the below steps to resolve the above issue:
- Open Control Panel from the Start menu
- Select User Accounts
- Select “Manage your credentials” in the left-hand menu
- Delete any credentials related to Git or GitHub
Once I did this, it started working again.
EmoticonEmoticon