- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2024 11:43 AM
Hello,
I am attempting to transfer update sets from our development instance to the production environment. I have successfully captured and marked the local update set as complete. However, when I create a new connection in the update source and test the connection, I receive the following error: "Authentication to remote instance failed. Method Failed: Http:/ 1.1 401 unauthorized with code: 401." I am using my administrative credentials, which I use to log into ServiceNow, but the error persists.
Could you please assist me in resolving this issue?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2024 12:18 PM - edited ‎12-16-2024 12:21 PM
Hi @DMC046,
Just to clarify, when setting up the connection between environments, you need to use the account credentials for the account you're attempting to connect to. For example, if trying to connect to Dev form Prod, you need to use the Dev credentials. Additionally, you need to make sure that account has the correct admin role. Please however read below before proceeding.
Before I offer an alternative and in my view a more targeted approach for moving update sets, can I just confirm where or how you are verifying your update set packages? Do you have a Test environment? I assume you have 3 environment in total - Dev, Test and Prod.
It is absolutely recommended to test your update sets in a Test environment before deploying to Production.
Based on this assumption, I would ensure that the connection between Prod and lower environments should actually be between Prod and Test, not Prod and Dev.
For a more targeted approach to move update sets (and ensure you only move what you need to rather, rather than all / any 'completed' update sets). You can simply export the update set by clicking on the 'Export to xml' related link from within the update set record itself - this will download the update set and associated xml files.
On the instance you wish to push the update set(s) to, you can type 'Retrieved update sets' into the Navigation menu, and from here you can 'Import xml'. Once imported you can preview and manage the update set as required including commit.
To view the ServiceNow support site for the error you're experiencing, see here: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0535247
To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2025 08:07 PM
Hi @DMC046
Can you please provide screenshot the error message that you get when you accept the remote update?
Thanks
Jaishree R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2025 06:19 AM
Hi @JaishreeRJaishreeR, the issue has been resolved thanks for reaching out to me,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2025 09:09 PM
Hi @DMC046 - Glad that your issue got resolved.