Error "'The Remote Server Returned An Error: (401) Unauthorized" Copying an Item with Call Web Service

Document created by butlerj Support on Nov 19, 2018
Version 1Show Document
  • View in full screen mode
ISSUE
When using the Call Web Service action to copy an item from one site to another, the following error might occur:
 
The Remote Server Returned An Error: (401) Unauthorized
ERROR CODE
RESOLUTION
  1. Attempt to access the web service end point via the browser on all Web Front End servers.
  2. Locate the server where the web service end point fails.
  3. Execute one of the following steps to disable loopback check on the Web Front End server:
    • Via an administrator SharePoint Management Shell window run: New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
    • Manually disable loopback checking in the registry:
      1. navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
      2. Create a DWORD32 entry for DisableLoopbackCheck
      3. Set the value to 1
RELATED LINKS

Attachments

    Outcomes