4

I am getting the following error while trying to clone a repo using VS Code in Windows 10. Visual Studio Code Git: remote: TF401019: The Git repository with name or identifier does not exist or you do not have permissions for the operation you are attempting.

The developer has full permission to the repo and the project does exist in Azure DevOps.

Thank you for your help

Pedro Reinoso

Pedro Reinoso
  • 91
  • 1
  • 4

3 Answers3

4

I had the same problem and found a working solution here - Remove credentials from Git

I has a wrong git credentials saved in Credential Manager

  • Open Control Panel\All Control Panel Items\Credential Manager\WindowsCredentials
  • Find git credentials

enter image description here

  • Remove credentials
  • Try to clone again -> you will be asked for login
  • Everything works ok
Alexandra Sh
  • 141
  • 1
  • 4
2

I was able to resolve the issue following another link in SO. It had to do with clearing the Git credentials in the PC affected. Below is the link we followed to resolve the issue:

Remove credentials from Git

Thank you

Pedro Reinoso
  • 91
  • 1
  • 4
1

I stumbled upon a similar issue few days ago. In order to solve this I removed the git credential from windows credential manager and it worked..

Ishan
  • 285
  • 2
  • 8