All programs getting "The given key was not present in the dictionary."

20.6.0-beta.93+Branch.release-v20.6.0.Sha.520fc7e20bd9baa56becf2fa30e75d1a9000a01d

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__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.IOHelpers.<WithTimeout>d__161.MoveNext()

this is due to uipath licence

09:21:01.3808 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\userid\AppData\Roaming\UiPath\LicenseInternal
09:21:01.3808 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved LicenseInfo value RegistrationState: ActiveLicense, ActivationId: UIP-235184cad2, LicenseCode: 7818-6897-03--, LicenseModel: USER, Version: V2019, StartDate: 1580774400, EndDate: 1612396799, GracePeriod: 0, Email: , CheckInterval: 0, NextCheckDate: 1593849749, BundleCode: STD, SubscriptionCode: COM.
09:21:01.3808 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState.
09:21:01.3808 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\userid\AppData\Roaming\UiPath\LicenseInternal
09:21:01.3808 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense.
09:21:01.3808 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving license content.
09:21:01.3808 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\userid\AppData\Roaming\UiPath\LicenseInternal
09:21:01.4139 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved license content UiPath.Licensing.Library.Core.Models.LicensePayload.

09:21:01.4139 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved license content UiPath.Licensing.Library.Core.Models.LicensePayload.
09:21:01.4530 => [ERROR] [UiPath.Studio.exe] [1] Acquire orchestrator license error: RemoteException wrapping System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

@gowseshaik

Usally The given key was not present in the dictionary happens, when you are not properly passing arguments in the workflow

Can you recheck by using debug and where exactly this error you are facing?

Thanks

thanks @ksrinu070184 on you response. No, its was with uipath studio license. i have reinstalled and got fixed.

2 Likes