Repository authentication failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2023 09:13 AM
Hello,
I am getting error "Repository authentication failed, check credentials. Make sure the user has both read and write access" while doing Exercise: Create the NeedIt Application from Source Control.
Please help to come out from this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 02:56 PM
Hi @Azam Razvi
did you try to use other user ?
Try to change the password and then try.
Check the ACL and roles for the user (service Account).
Please mark my answer helpful or solution accepted if it serves the purpose.
Regards
Atul G
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 05:36 PM
Hello @Azam Razvi,
This might be due to one of the following reasons:
1. The credentials of the Credential record in your ServiceNow instance is incorrect.
2. The GitHub token generated does not have the appropriate permissions.
3. There is a mistake while doing "Import from Source Control" in Studio.
-> Please try to regenerate another token, modify the Credential record to match the new GitHub token and check other details are correct, and finally, check if the Import from Source Control works properly. I find it especially easy to mistake the repository branch name, so please double-check that too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2023 07:13 PM
Give these steps a try: https://snprotips.com/blog/2022/3/4/how-to-change-servicenow-applications-repositoryurl