Why do I keep getting a "Repository authentication failed, check credentials. Make sure the user has both read and write access" error message when I create a branch in studio signed in as system admin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2017 06:21 AM
I am working on the NeedIt tutorial in the New to Service Now trainings. Although I was able to do the previous steps I am unable to create a branch in the studio. The instructions say:
Create a Branch from a Tag
- In Studio, open the Source Control menu and select the Create Branch menu item.
- Configure the Branch. Branch Name CreateNeedItApp Create from Tag: LoadForCreateNIAppModule
- Click the Create Branch button.
- Click the Close Dialog button.
- After the branch is created, the branch name appears in the Studio status bar (bottom right corner).
When I try to run this in studio it fails with the error message "Repository authentication failed, check credentials. Make sure the user has both read and write access' I have tried to sign in as various users that have read and write access but can't get it to work. Can anyone tell me what I'm doing wrong?
- Labels:
-
Studio
- 26,939 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2021 11:59 PM
"Repository authentication failed, check credentials. Make sure the user has both read and write access" getting this error after t
Tried below possibilities but no use.
Updated the git password and updated in the credentials in SNow didn't work
Deleted the repository and adding again even that didn't workout.
Should we need to give permission to Git account in git site. If yes, please let me know what are the steps to be followed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2021 11:42 AM
i tried too, but dont worked!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2021 12:34 PM
https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/
Basic authentication is no longer supported by github. You need to have SSH or an oauth branch setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2021 12:59 PM
Tks, I got it, i created a personal token and used it instead of my password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2021 12:18 PM
I'm having the same issue...
- Tried with two different github accounts
- Deleted and forked the repository several times
- Deleted and created the credentials for both accounts a couple of times
- Reset passwords for both github accounts
- 2FA is off
And still I'm getting the same error 😞
My instance is from the quebec release