Skip to content

The pipeline is not valid. Could not get the latest source version for repository PublicWeb hosted on Azure Repos using ref refs/heads/Dev/feature/test.

  • by

Issue: Sometimes you may get an error like for no fault of yours. This error mostly occurs when the branch you are working on has been renamed or you have another branch with a part of branch name that is more similar to the existing one.. If you have branch name say “dev” then if you are having another branch which includes dev then it should be something like this “dev/feature/test” and not “Dev/feature/test”

The pipeline is not valid. Could not get the latest source version for repository PublicWeb hosted on Azure Repos using ref refs/heads/Dev/feature/test.

The new branch name should follow how the default branch name is and it should not contain a different name from it