"Repository authentication failed, check credentials. Make sure the user has both read and write access"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2022 10:00 AM
I am in learning process. while going through steps in course "Scripting in servicenow" . in this excerise
Exercise: Fork Repository and Import Application for the Client-side Scripting Module
getting below issue
"Repository authentication failed, check credentials. Make sure the user has both read and write access"
Not able to import needit application from github repository. Came through some other posts related to this. But cant resolve the issue. Tried
1. deleting/adding fork in github
2. changing password
3. creating new credentials
4. Tried SSH key authentication - RSA algorithm
Please help, I am not sure what I am missing in this.
Thanks
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2022 05:17 PM
By "creating new credentials" have you setup a personal access token? I'm not sure if the ServiceNow learning has been updated with the fact personal access tokens now need to be used for Github authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 04:07 AM
Yes, I did create personal access token. Its been long days now. I will try once again from first step now and update here.
Thanks for your response..!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2022 04:00 AM
FYI, this worked for me, same problem and this resolved it, token
https://www.reddit.com/r/servicenow/comments/y0j3he/repository_authentication_failed/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2022 04:29 AM
I will check on that.Thanks ..!!