"Repository authentication failed, check credentials. Make sure the user has both read and write access"

Raja keerthana
Kilo Guru

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

10 REPLIES 10

Kieran Anson
Kilo Patron

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

Creating a personal access token - GitHub Docs

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..!!

FYI, this worked for me, same problem and this resolved it, token

https://www.reddit.com/r/servicenow/comments/y0j3he/repository_authentication_failed/

I will check on that.Thanks ..!!