Generative Classifier/Extractor suddenly have an error, even though it worked previously with the configuration. This is the error:
25.0.161-cloud.19480+Branch.release-s161.Sha.36ba680b31a6cf3514e6ea6416d1f6f64f74ad37.36ba680b31a6cf3514e6ea6416d1f6f64f74ad37
Source: Generative Classifier
Message: Request CorrelationId: a962199c-1bb7-418c-9168-4b63719d3565
Request PredictionId: p4jEXQvBj3F82dF37o2w2rHMvYN4lbblJ4aX1qbfWv8=_14389c58-140f-4c20-ba8d-0ce50d6f6c2e
An item with the same key has already been added. Key: tenantaudit
Exception Type: UiPath.Shared.Activities.TrackingException
UiPath.Shared.Activities.TrackingException: Request CorrelationId: a962199c-1bb7-418c-9168-4b63719d3565
Request PredictionId: p4jEXQvBj3F82dF37o2w2rHMvYN4lbblJ4aX1qbfWv8=_14389c58-140f-4c20-ba8d-0ce50d6f6c2e
An item with the same key has already been added. Key: tenantaudit —> UiPath.CoreIpc.RemoteException: An item with the same key has already been added. Key: tenantaudit at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at UiPath.Service.Core.ServiceDiscoveryStore.GetResourceUrl(String resourceName, 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 UiPath.DocumentUnderstanding.ML.Activities.GenerativeClassifier.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.DocumentUnderstanding.ML.Activities.ClassifierAsyncTaskActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
This is what I tried to solve this issue:
- Uninstalled UiPath Studio completely (Including all the cache in AppData, localAppData, ProgramData, Nuget, etc).
- Reinstalled UiPath Studio and start a simple process from scratch.
- Removed all Tenants in UiPath Administration and created a new Tenant just to test again.
The same error is still there. I checked my AI unit, it still have many available:
This is my current workflow:
The error listed “An item with the same key has already been added. Key: tenantaudit”, I didn’t create any dictionary or even used the word ‘tenantaudit’ before.
I am very lost, what can I do now to use Generative Classifier/Extractor again?






