Loading asset fails i unattended mode

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!

@akawat

Is this happening always?

Did you try with creating a dummy process?

Try to change the system oackages version and check if the issue persists

Cheers

@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.

@akawat

Is the robot connected ?

And the license is assigned properly?

Ideally it should have been as the robot is starting…

Cheers

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!

I have a same problem, How did you solve this?

Hi @chanat

What is the error message you are getting?

What version of studio and orchestrator you are on?

Orchestrator version:

Studio version:

2023.10.3

The error message:

Loading asset mailMerkavaTeam failed: Invalid request! System.Exception: Loading asset mailMerkavaTeam 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

Hi @chanat What is the error message you are getting? What version of studio and orchestrator you are on? Visit Topic or reply to this email to respond. Your email reply will be posted in the corresponding topic. To unsubscribe from these emails,
ZjQcmQRYFpfptBannerStart
This Message Is From an Untrusted Sender
You have not previously corresponded with this sender.
Report Suspicious https://us-phishalarm-ewt.proofpoint.com/EWT/v1/ArZwysmuupPR!A987Afcri7liXhb9jPV0Q3mAVV0ZptqYpAkqLkpRwiRg57SGtraSdYDTIY9yUmfhyOU7PJ8_M0TK9r0ID512cF0$
ZjQcmQRYFpfptBannerEnd

Hi @chanat</u/chanat>

What is the error message you are getting?

What version of studio and orchestrator you are on?