N-I-1990
Design Dabbler

Nintex Workflow - Web Service Error - 401 Unauthorized

I have a list which has 3 workflows. In the end of the first workflow I am using a Webservice to call the next workflow.

I am receiving sometimes the below error in the Workflow.

Failed to invoke web service. Error returned from server: The remote server returned an error: (401) Unauthorized.

 

The error is happening sometimes.

Notes:

- I have two front end servers

- When I am using one of the servers url inside the webservice, the issue will not happen

- When I am using the url of the application, the issue will happen sometimes.

Please advise

Labels: (1)
0 Kudos
Reply
2 Replies
kchaluvadi
Workflow Veteran

Re: Nintex Workflow - Web Service Error - 401 Unauthorized

Hi,

Have you tried using the web service with your SharePoint site url? It shold work, you don't need to call using your application server as not all of the users have access to application server. And sending requests to WFE server does not cause any issues if the user has atleast "read" access to SharePoint site.

 

0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Nintex Workflow - Web Service Error - 401 Unauthorized

@N-I-1990 first if all 3 workflows are on the same list then why you're using the call web service, instead of that use Start Workflow action.

 

Now your error says 401 unauthorized. Can you check if your credentials have proper access on that list and list item to start the workflow? I'll suggest using a service account for running web services.

0 Kudos
Reply