// This line the SelectTokens function cause the mentioned error JToken[] token = jsonObject.SelectTokens("$.data.sample_items[?(@.id > 2)].['id, status, name, short_description, full_description,price]").ToArray(); // These are what I try to get and getting the mentioned error. specially when calling the Value<>() function. token[2].Value() token[5].Value() // I add watcher to them and try to use Evaluate expression in Rider 2021.2.2 and get this error each time. // although some times it works fine but it's 1 in 100 and I couldn't find out what exactly cause it. // I try visual studio 2019 and 2022 both of them throw exception but the error is different in those IDE.