RemoteException wrapping System.AggregateException: One or more errors occurred

Getting below error when i run my first bot

21.10.5+Branch.support-v21.10.Sha.369f46199a0fa6287d86ab2534b6896019db01bc

One or more errors occurred. (The given key ‘HP’ was not present in the dictionary.)

RemoteException wrapping System.AggregateException: One or more errors occurred. (The given key ‘HP’ was not present in the dictionary.) —> RemoteException wrapping System.Collections.Generic.KeyNotFoundException: The given key ‘HP’ was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at UiPath.Service.AttendedService.BeginOrUpdateSessionCore(Message message, CancellationToken ct) at UiPath.Service.AttendedService.BeginOrUpdateSession(Message message, CancellationToken ct) at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func2 exceptionHandler)
— End of inner exception stack trace —
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at UiPath.Service.AttendedService.BeginOrUpdateSessionCore(Message message, CancellationToken ct) at UiPath.Service.AttendedService.BeginOrUpdateSession(Message message, CancellationToken ct) at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func2 exceptionHandler)

Can you share the snap of your code and what is your requirement.

1 Like

Get Data.xaml (6.3 KB)
I tried to download the attached excel file from mailbox

Hi,

kindly erase filter from properties.

image

though i deleted the filter from prop, getting same error .

image

Hi,

For now, can you reboot your OS? There seems something wrong with your robot.

91476003231e8d40181b0dd685df8b51f5ab9a65

Regards,

2 Likes

thank you…it worked now

1 Like

Thank you for this… it worked now

When i am running a bot i got this error.

RemoteException wrapping System.AggregateException: One or more errors occurred. (Connection closed.) —> RemoteException wrapping System.IO.IOException: Connection closed.
at UiPath.CoreIpc.Connection.RemoteCall(Request request, Stream uploadStream, CancellationToken token)
at UiPath.CoreIpc.ServiceClient1.<>c__DisplayClass21_11.<b__1>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func2 exceptionHandler) at UiPath.CoreIpc.ServiceClient1.<>c__DisplayClass21_11.<Invoke>b__2(Exception ex) at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func2 exceptionHandler)
at UiPath.Executor.Debugger.Client.Services.RobotExecutorProxy.StartJobAsync(ExecutionStartOptionsSlim startOptions)
— End of inner exception stack trace —
at UiPath.CoreIpc.Connection.RemoteCall(Request request, Stream uploadStream, CancellationToken token)
at UiPath.CoreIpc.ServiceClient1.<>c__DisplayClass21_11.<b__1>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func2 exceptionHandler) at UiPath.CoreIpc.ServiceClient1.<>c__DisplayClass21_11.<Invoke>b__2(Exception ex) at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func2 exceptionHandler)
at UiPath.Executor.Debugger.Client.Services.RobotExecutorProxy.StartJobAsync(ExecutionStartOptionsSlim startOptions)

I have tried the solution as restart the machine, reinstall the UiPath.

Still getting same error.

Maybe this thread will help you.