-
-
Save ljayz/9fa6721c13f2c2d6a8f772a1e4ef1a37 to your computer and use it in GitHub Desktop.
this was tested using windows10 pro | |
when cloning a git this error was produced | |
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/RepositoryName': The requested URL returned error: 403 | |
to fix add the following git configuration | |
git config --global credential.helper "!aws codecommit credential-helper $@" | |
git config --global credential.UseHttpPath true | |
check if git has system credential.helper by typing | |
git config --system -l | |
if it has remove it by typing | |
git config --system --unset credential.helper |
git config --system --unset credential.helper
Worked for me. Thanks
git config --system --unset credential.helper
Worked for me. Thanks
Thanks
git config --system --unset credential.helper
It worked for me, Thanks
work for me as well! thanks
The following steps worked for me . Thanks
I had similar errors on a Mac. It only worked after I deleted the entries for git-codecommit from keychain access.
For windows, if the problem still exists "fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/RepositoryName': The requested URL returned error: 403"
Try fixing your environment variables in windows. If the credentials are changed for clonning the repos, the environment is led with the old set of region and key values.
- Search for "edit system environment variables"
- Look for "Environment Variables"
- Set up the new accesskey, secert accesskey and default region.
- click "ok"
git config --global credential.UseHttpPath true
Works ! Thanks
it worked for me too
I had the same isssue and the command
git config --global credential.UseHttpPath true
saved me !
thanks, working for me
git config --global credential.UseHttpPath true
worked for me thanks
Thanks, this also worked for me