Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Read and write access issue with Gitlab repos

Vengadesh
Tera Guru

Hi,

While trying to commit any updates to the repository, it throws an error stating " The user only has read access to the repo. Make sure the user has both read and write access". But I have enough permissions to read and write within repos.

 

Troubleshooted by creating a new access token with enough roles also but again it throws the same error 

 

FYR:

Vengadesh_0-1710840982356.png

 

 

9 REPLIES 9

Vengadesh
Tera Guru

Hi @SP22 ,

 

The steps provided in that article is for GitHub, where I'm using GitLab. 

In that article they are using the username and password directly in the studio and I'm utilizing credentials to store the repo username and access token

Note: I have created a new access token with enough roles but its not working

 

If you have any other inputs pls share

 

Thanks

Vengadesh

 

Not applicable

Hi @Vengadesh ,

 

This can be fixed easily just follow the steps given in the below KB, the account is lacking access.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0994306

Vengadesh
Tera Guru

Hi @Community Alums ,

 

The steps were from GitHub , where I'm Gitlab. 

Not applicable

may i know what roles you granted ?