Trigger workflow through rest api from server A to B

Tries to trigger a basic workflow to test rest api trigger, gets following message:

Executor start process failed, reason System.Runtime.InteropServices.COMException (0x80070520): A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)
at UiPath.UiSystemClass.OpenInteractiveWindowsSession(String bstrUser, String bstrPassword, UiOpenSessionFlags nFlags, String bstrApplication, String bstrAppArguments, Int32 nDelayMs, Int32 userToken, UiGenericOptions options)
at UiPath.Core.Setup.OpenInteractiveWindowsSession(String username, String password, OpenSessionFlags flags, String application, String arguments, Int32 userToken, Int32 preferredWidth, Int32 preferredHeight, Int32 preferredDepth)
at UiPath.Service.Impl.Executor.StartProcessInSession(Guid executorInstanceId, String username, String password, OpenSessionInfo sessionInfo, IntPtr userToken)
at UiPath.Service.Impl.Executor.<>c__DisplayClass13_0.<b__0>d.MoveNext()
Info:parse CompletedJson failed, ex:Object reference not set to an instance of an object. stack: at UIWorker.UIPathRobotAPI.Run(String jobJSON)

How to solved this problem?

Runnning on win server 2016, works for other servers.


having the same issue here… any luck? I’m also in touch with UiPath and the IT-Supplier…

still working on this issue… are you working with a Citrix Xen-Machine? We do…

Hi All

Any of you get the solution.I am also trying the same and stuck over there.

Kishor Srivastava