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:ย 

Error while running a notebook job using git repo (Gitlab)

vinitkhandelwal
New Contributor III

I am trying to run a notebook job with a git repo hosted on Gitlab. I have Linked my Gitlab account using Gitlab token

Screenshot 2024-12-02 at 7.56.10โ€ฏAM.png

Yet i am getting the following error on running the job

Screenshot 2024-12-02 at 7.58.11โ€ฏAM.png

โ€ƒHow to resolve this?

2 REPLIES 2

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @vinitkhandelwal,

Looks like the token could be missing required permissions for the operation. Please refer to:

You can clone public remote repositories without Git credentials (a personal access token and a username). To modify a public remote repository or to clone or modify a private remote repository, you must have a Git provider username and PAT with Write (or greater) permissions for the remote repository.

https://docs.databricks.com/en/repos/repos-setup.html

I have tried by providing every permission on Gitlab, yet it fails with above error

Screenshot 2024-12-03 at 2.33.34โ€ฏAM.png

โ€ƒ

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group