The other day, while cloning an Azure DevOps repository, I encountered a ‘Git failed with a fatal error’ message, as shown below, with error code 403.

Reason and Fix:

  • It appears that the issue was related to invalid cached credentials on my machine.
  • To resolve the issue, connect to ‘Credential Manager‘ from your machine and choose the DevOps organization URL from the list.
  • You can either click ‘Edit’ to update the credentials or ‘Remove’ to re-enter the credentials.
  • Return to Visual Studio and attempt to clone the solution again.
  • You will be prompted for credentials. After providing the credentials, you should be able to connect to the DevOps organization.

🙂

Advertisements
Advertisements

Leave a comment

Visitors

2,093,292 hits

Top Posts