"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

Thanks for the link! That helped me too!

Basic Auth was not working for me in my PDI and I was using GitHub credentials

Community Alums
Not applicable

Please watch the video on how to link GitHub with servicenow

 

https://www.youtube.com/watch?v=v9OrPXlEGvY&t=20s

 

Regards,

Raj

Demonstration to show end-to-end walk-through of linking ServiceNow to GitHub source control. First generate SSH Keys, using any online resource like https://8gwifi.org/sshfunctions.jsp Make sure you select ECDSA and select the RSA Key Size 256 Enter a simple passphrase that you can remember ...

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-persona...

Same link as Kieran -> but this one takes you directly to personal access token creation screen.

pk6
Tera Contributor

Worked for me!!

jjones4773
Tera Guru

See attached instructions.