Hi everyone,
Iām getting this error when trying to create a Git folder in Databricks:
Error creating Git folder
Invalid Git provider credential for repository with URL [Placeholder].
ā
How to fix
Please go to your remote Git provider to ensure that:
You have entered the correct Git user email or username with your Git provider credentials.
Your token has the correct repo access.
Your token has not expired.
If you have SSO enabled with your Git provider, be sure to authorize your token.
Alternatively, select or create another git credential using git credential selector below.
Request ID: 6218650a-b143-XXX
What I already verified:
My PATs are valid (not expired).
PAT scopes/permissions are correct for repo access.
Credentials (username/email + token) are correct.
I can clone the same repositories successfully via other applications / CLI (no issues there).
The problem appears only in Databricks.
Additional context:
I already had this exact issue in December. At that time, it disappeared by itself after about 3 days, without any changes on my side (no credential changes, no permission changes, no config changes).
The issue is not limited to creating new Git folders: in existing Databricks repos, I also cannot switch branches.
Because of that, I suspect this may be Databricks-side configuration/integration related rather than a token issue itself.
Could anyone share possible root causes I should check next?