Error: Deserialize JSON: Deserialized JSON type ‘Newtonsoft.Json.Linq.JArray’ is not compatible with expected type ‘Newtonsoft.Json.Linq.JObject’. Path ‘’, line 1, position 713.
It keeps showing this error despite using either Deserialize JSON/Deserialize JSON Array and the output as Newtonsoft.Json.Linq.JObject. How can I fix this?
Ultimately, I’m trying to take information extracted from a screenplay activity on a website and upload it into a data table, then written into a google sheet.
This error means your API response is actually a JSON Array ([…]), but your Deserialize activity is expecting a JSON Object ({…}).
So check the first character and try to print in logs and see what value comes