The given key was not present in the dictionary. error

Does anyone know how to solve this?

The given key was not present in the dictionary.

RemoteException wrapping System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at UiPath.Service.UserServiceManagerExtensions.BeginOrUpdateSession(UserServiceManager manager, ImpersonableIdentity identity, CancellationToken ct) at UiPath.Service.AttendedService.<BeginOrUpdateSession>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.Server.<InvokeMethod>d__22.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.Server.<HandleRequest>d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.Server.<>c__DisplayClass4_2.<<-ctor>b__6>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.IOHelpers.<WithResult>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.IOHelpers.<WithTimeout>d__181.MoveNext()

@Raghad

Usually this will happen when you are not passing arguments correctly

Check all arguments are passing correctly between the flows

Hope this helps you

Thanks

Capture3

There are no arguments. This is my workflow, just printing “Hello”

@Raghad

Reinstall studio and try again, this happens before for some users also, so there was some issue with the license of the UiPath studio

You can uninstall studio, restart the system, and install the studio

Try to connect to orchestrator once done

Hope this helps you

Thanks

Thanks it worked!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.