'Newtonsoft.Json.Linq.JArray' + Error

The following errors were encountered while processing the workflow tree:

‘DynamicActivity’: The private implementation of activity ‘1: DynamicActivity’ has the following validation error: Compiler error(s) encountered processing expression “RecordsArray”.

Value of type ‘Newtonsoft.Json.Linq.JArray’ cannot be converted to ‘Newtonsoft.Json.Linq.JArray’. Type mismatch could be due to mixing a file reference to ‘C:\Users*Name*.nuget\packages\newtonsoft.json\13.0.1\lib\net45\Newtonsoft.Json.dll’ in project ‘vbhost’ with a file reference to ‘C:\Program Files\UiPath\Studio\net461\Newtonsoft.Json.dll’ in project ‘vbhost’. If both assemblies are identical, try replacing these references so both references are from the same location.

Did any one face this? How to resolve this…

Hi @Sairam_RPA,

You seem to have an issue with reference as UiPath evaluates your two Newtonsoft.Json.dll files to be identical. Can you please check your dependencies within your project and try removing your “net45/Newtonsoft.Json.dll”. From my understanding of the issue it is an older version than the one supplied by UiPath studio by default.

Regards,
JM

1 Like

Yes its an issue with the older version of Uipath studio. I upgraded it and the issue went away

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