Skip to main content
Nintex Community Menu Bar

Call Web Service action returns '401 Unauthorized' error with valid credentials

  • March 26, 2021
  • 0 replies
  • 1124 views

butlerj
Nintex Employee
Forum|alt.badge.img+20

ISSUE

 

When using the Call Web Service action in a SharePoint On-Premises environment, the action fails regardless of what credentials are used.
 

ERROR CODE

 
The Remote Server Returned An Error: (401) Unauthorized
 

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:SystemCurrentControlSetControlLsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
    • Manually disable loopback checking in the registry:
      1. navigate to: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsa
      2. Create a DWORD32 entry for DisableLoopbackCheck
      3. Set the value to 1