Keyword Based Classifier Trainer: Sequence contains more than one matching element

I have a workflow where classify document using classification station, and input the result to a keyword based classifier trainer

Its working fine until today where it came back with this error
Keyword Based Classifier Trainer: Sequence contains more than one matching element

What the reason for this and how do i fix it? It seems to happen depending on how i classify my document

Hi @jack.chan ,

Could you also Let us know if there was an Update to the Packages / Studio ?

Also Specify the updates or the current version of the Packages /Studio.

1 Like

Thanks, i updated everything (and changed to modern framework), and the problem is gone

Theres another issue after updating, its saying
uipath.IntelligentOCR.Activities.Actions.Model.DocumentClassificationActionData
is not defined when i try to initialize a list of DocumentClassificationActionData

@jack.chan ,

Not so sure of the entirety of the usage of the variables, but initialising it does work for me in the below way :

Try to remove and add /Initialise it again and check / Also do check if the Class exists by checking intelli Sense.

1 Like

i found out its because my keyword learning json contains two occurrences of the same documentID. I dont know what caused this , maybe it wont happen againonce i update to the latest version

1 Like

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