Process fails to fetch the assets from orchestrator when executed in unattended mode. The process runs without any issue in debug mode from studio. It fails when executed in unattended mode from orchestrator.
Below is the full stack trace.
System.Exception: Loading asset Cancel Transfer - IMS URL failed: Invalid request! at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
— End of stack trace from previous location —
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Please let me know if there is a resolution to this issue. Thanks!
@Anil_G Yes we tried with a dummy process and the issue is still happening. The process used to work fine. The issue started happening after we upgraded the studio version on the unattended machine. We uninstalled and reinstalled the studio and looks like that messed up some settings.
Windows log on the unattended machine says “System.InvalidOperationException: Could not log in user to Orchestrator.” So looks like since robot account is not able to make a connection with Orchestrator the calls to get asset is failing.
I have the same issue: when I run a process from the assistant, it works fine. However, when I run the process from the orchestrator, the process can’t retrieve assets from the orchestrator, and the error message is ‘Invalid request.’ The problem started when I moved my bot from a regular machine to a server and installed the latest version of UiPath, 23.10.4. Have you resolved this issue? Please help me!