Fork Repository and Import Application for the Importing Data Module

LucianaNader
Tera Contributor

Hello, community!

I will be really GLAD if anyone could  help me with this!

I am taking the ServiceNow Administrator Learning Plan. and I am stuck at the part that imports the application from the forked repository. When I try to import the application from source control, it gives me this error message

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

I couldn“t find out what is the solution for this. And it implicates the rest of the course.

Hope someone can help me. Thanks

1 ACCEPTED SOLUTION

Viraj Hudlikar
Giga Sage

Hello @LucianaNader 

 

This is happening as creds are not proper. I guess you are entering username of github account and direct password used to login. 

 

First get 2FA enabled for your account by following instructions over here - Configuring two-factor authentication - GitHub Docs   You can choose any method which suits you, I think I had doing using text messages.

 

Now you need to create personal access token as mentioned in link, I had done using fine-grained type and in permissions select almost read-write option. Managing your personal access tokens - GitHub Docs

 

Once above step is done copy the code generated and come back to ServiceNow studio and basic auth credentials. Once done go back to studio and select source control menu and open link to source control then enter details and select credentials we created and click on "Link to source control" button. Then you will be good with step which is blocker for you right now.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

View solution in original post

3 REPLIES 3

Viraj Hudlikar
Giga Sage

Hello @LucianaNader 

 

This is happening as creds are not proper. I guess you are entering username of github account and direct password used to login. 

 

First get 2FA enabled for your account by following instructions over here - Configuring two-factor authentication - GitHub Docs   You can choose any method which suits you, I think I had doing using text messages.

 

Now you need to create personal access token as mentioned in link, I had done using fine-grained type and in permissions select almost read-write option. Managing your personal access tokens - GitHub Docs

 

Once above step is done copy the code generated and come back to ServiceNow studio and basic auth credentials. Once done go back to studio and select source control menu and open link to source control then enter details and select credentials we created and click on "Link to source control" button. Then you will be good with step which is blocker for you right now.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

LucianaNader
Tera Contributor

It worked!!! Thank  you so much @Viraj Hudlikar !!

Your explanation was perfect!

Thanks !

Best wishes!

Luciana Nader

@LucianaNader  - Happy Learning!