HTTP 401 Unauthorized error when requesting a clone using the new Clone Admin Console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Has anyone experienced an HTTP 401 Unauthorized error when requesting a clone using the new Clone Admin Console?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @nataliyee ,
Go to Clone Instances from the Configuration tab and make sure username and password is correct for the Dev instance (which will be pulled from the dev instance) or do a password reset in dev for this account, update the password here and try the clone request again!
you can also check this - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB3140805
Hope it helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thanks for your suggestion. I'm using OAuth, so there isn't a username or password to update under Clone instances.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @nataliyee
Refer KB: KB0853086 User may encounter MFA when raising a clone request despite disabling it in sys_user table
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0715621
Clone target authentication fails with "Invalid username or password"
Due to recent changes with security and the enforcement related to BasicAuth changes, we have seen an increase in authentication failure related to those changes
1) For clone requests we recommend to have a local account with identity type field set to machine and this will automatically checks the "Web Service Access Only" option.
- Open any user record from the sys_user table.
- Right-click the form header and select Configure → Form Layout.
- Move the Identity Type field from the Available column to the Selected column.
- Click Save.
- Set the Identity Type field value to Machine.
Note: When the Identity Type field is set to Machine, the user will not be able to log in to the instance. As a best practice, create a separate account specifically for clone authentication purposes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Thanks for your suggestion. I'm using OAuth, not Basic Auth. I forgot to mention that