cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to checkout Git repository: RESOURCE_DOES_NOT_EXIST: Attempted to move non-existing node

busuu
New Contributor II

I'm having issues with checking out Git repo in Workflows. 

busuu_0-1738776211583.pngDatabricks can access files from commit `a` but fails to checkout the branch when attempting to access commit `b`. The error occurs specifically when trying to checkout commit `b`, and Databricks seems unable to access the files from this commit.

Here’s a brief overview of the problem:

  • Commit `a` works fine, and Databricks can access the files.
  • Commit `b` fails with an error: "Failed to checkout Git repository."
  • The repository is properly linked to the Workflow Task run details.
  • I’ve verified that commit `b` exists in the branch history and is accessible locally.

Could anyone offer a solution?

3 REPLIES 3

Augustus
New Contributor II

I had the same issue in our Azure Databricks workspace. There were jobs that failed immediately with the same exact error message plus the inability to pull the latest changes on branches from remote Repos. I had to reach out to DBX support and they applied a fix to my workspace. They said: "The root cause was identified as duplicated and deleted /Repos folders within the workspace"

busuu
New Contributor II

Good to know you have encountered this issue before, can I ask what you did to resolve it?

Augustus
New Contributor II

I didn't do anything to fix it. Databricks support did something to my workspace to fix the issue. 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now