Hello All,
I’m testing an automation which works perfectly fine in attended mode. As I started testing in unattended mode, it throws an error when kicked to action center.
Here are the logs.
Failed to process document. Exception: mscorlib : Attempted to access an element as a type incompatible with the array.
Process was aborted due to: System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array. at System.Collections.Generic.List`1.Add(T item) at UiPath.DocumentUnderstanding.Persistence.UiPathWebApi.Initialize() at UiPath.DocumentUnderstanding.Persistence.ActivityContextExtensions.GenerateClientFromContext(ActivityContext context, Int32 timeoutMs, String folderPath, CancellationToken cancellationToken) at UiPath.DocumentUnderstanding.Persistence.OrchestratorService.GetOrchestratorClient(ActivityContext context, Int32 timeoutMs, String folderPath, CancellationToken cancellationToken) at UiPath.IntelligentOCR.Activities.BaseOrchestratorClientAsyncActivity.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state) at System.Activities.AsyncCodeActivity.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)
would anyone know why this would happen?
Please help.
thank you!