Calling 'StartWorkflowOnListItem' web service fails with 'Cannot find list' error

  • 26 March 2021
  • 0 replies
  • 105 views

Badge +2

Issue

When invoking 'StartWorkflowOnListItem' Nintex workflow web service, you may get the error 'Cannot find list' even though the list exist and the user has permissions on the list/site

Error Code

Exception calling "StartWorkflowOnListItem" with "4" argument(s): "Server was unable to process request. ---> Cannot find list. Parameter name: listName Actual value was 'list abc'."

 

Resolution

Include '?WSDL' at the end of the Webservice url like: "/_vti_bin/nintexworkflow/workflow.asmx?WSDL"

 

Example:

$url = $webUrl + "/_vti_bin/nintexworkflow/workflow.asmx?WSDL"
$ws = New-WebServiceProxy -Uri $url -UseDefaultCredential 

 

Additional Information

 

 

Related Links

 

 


0 replies

Be the first to reply!

Reply