Deserialize json exception

Hi community! I’m having problems with the deserialize json activity. I’m getting

Method ‘Newtonsoft.Json.Linq.JToken get_Item(System.String)’ declared on type ‘Newtonsoft.Json.Linq.JObject’ cannot be called with instance of type ‘Newtonsoft.Json.Linq.JObject’

Exception Type: ArgumentException

I don’t get it. It basically says ‘Method of class X cannot be called with instance of type X’. I used to be able to deserialize jsons.
I tried installing a previous version of the Uipath web package, but I’m getting the following:

Could anyone please help me with this?

Please take a look at Newtonsoft.json.linq doesn't work in studio 2018.2 and Need Help : UiPath.Core.Activities : Method 'Newtonsoft.Json.Linq.JToken get_Item(System.String)' declared on type 'Newtonsoft.Json.Linq.JObject' cannot be called with instance of type 'Newtonsoft.Json.Linq.JObject'. While the fixed version isn’t released, manually deleting the 10.0.3 version of Newtonsoft solves the problem.

1 Like