- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-27-2025 11:43 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-27-2025 03:59 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-27-2025 03:59 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-28-2025 04:25 AM
It worked!!! Thank you so much @Viraj Hudlikar !!
Your explanation was perfect!
Thanks !
Best wishes!
Luciana Nader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-28-2025 04:37 AM
@LucianaNader - Happy Learning!