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,861 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2017 09:37 AM
I am having the same issue. I am using my GIT Hub credentials.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2017 05:40 PM
try to reset password and "disable two-factor authentication" ---if it was enabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2017 11:13 PM
Hello,
I get the same error.
I forked the repository and I've been able to import it in studio.
When I try to create a branch from within ServiceNow (studio) I receive the error:
Create a Branch from a Tag
In this part of the exercise you will create a Branch in which you will save the work you do in this module.
- In Studio, open the Source Control menu and click the Create Branch option.
- Configure the Branch.
Branch Name: ClientScriptsModule
Create from Tag: LoadForClientScriptsModule
- Click the Create Branch button.
- Click the Close Dialog button.
I already checked the two factor authentication on my GitHub account. It's switched off:
Has anybody managed to make this stuff work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2017 11:42 PM
I finally got it to work.
What I did:
I switched to another branch in ServiceNow (Source Control => Switch Branch), in this case to LoadForClientScriptsModule.
I tried to create a new branch here as described in the exercise.
I received the same error.
Then I switched bacck to the master repository (Source Control => Switch Branch // chose master).
After that I was able to create a new branch in the master branch as described in the exercise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2017 07:53 AM
Hi Joerg
I was facing the similar issue.
Then after following your steps also I was not able to create the New Branch for NeedIt app.
Ultimately I found out that I wrongly typed my Github userid while importing.
Now the branch got successfully created following exactly same developer training steps under MASTER.
Route Cause of my problem was Typo of Github user id.
Thank you.
Suggestions written in this thread had helped me to find the route cause of issue.