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,954 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 12:45 AM
The GitHub credentials here means you need "Username" + "TOKEN" (and not GitHub password).
So, in order to generate TOKEN, go to your GitHub settings > Developer Settings > Personal Access Tokens > Tokens (Classic) and give the "write" permission while creating the token.
Once the token is generated, put that in your ServiceNow PDIs Credentials as password (Username is same as your GitHub username), and use that to authenticate and import the application successfully.
Hope it helps, thank you)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 10:11 PM
User personal access token instead of password. It will resolve the issue