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

Krish9
Tera Contributor

Team-

I am in the 

Create the NeedIt Application and Application Files section and I am unable to import source code from my git for the repository for https://github.com/Gaddegopal/devtraining-application-release.

 

I am seeing below error-

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi Krish,

what exactly is your concern? 

I suppose "https://github.com/Gaddegopal/devtraining-application-release is your repo, isn't it?

If so, you should know its credentials as you are the repository owner!

Please give more insights, details & screenshot in case I have misunderstood you.

Thanks
Maik

I am facing the same issue. For your reference I am attaching the screenshot. Please help.

Hi RISHU, 

You can check this thread. I created a token and used it as the password within the credentials used for GitHub in ServiceNow and it worked.

https://github.com/byukich/x_snc_aws_sns/issues/1#issuecomment-901023191 

Tim Woodruff
Mega Guru

I recently wrote a 'ServiceNow Pro Tips' article on this, which teaches you:

 

1. How to change which GitHub / repository your ServiceNow application in Studio

2. How to update your GitHub repo credentials in ServiceNow

3. How to generate ECDSA SSH keys and link your ServiceNow application with GitHub using SSH (including the new GitHub rule against using insecure RSA keys) - since GitHub no longer supports basic auth or RSA SSH keys

4. How to generate/link your SSH API key-pair with GitHub and ServiceNow, using your public/private keys

 

You can see the full article with detailed step-by-step instructions, here:

https://snprotips.com/blog/2022/3/4/how-to-change-servicenow-applications-repositoryurl