Skip to main content
All CollectionsBuildCode Repositories
I'm connected to Bitbucket and my builds fail with Git error.
I'm connected to Bitbucket and my builds fail with Git error.
Jihye E avatar
Written by Jihye E
Updated over 7 years ago

If your builds fail with errors such as "fatal: reference is not a tree:..
##[error]Git checkout failed with exit code: 128",

Please do the following:

  1. Go to the Webhooks section of the connected Bitbucket account and look for any disabled Webhooks from "mobile.azure.com"

  2. Re-enable the Webhooks

  3. Commit a change to the affected repository/branch and give it a try if the build runs successfully now

If your builds continue to fail, please reach out to us.

Did this answer your question?