Hello guys, I have created a demo application in which my JSON response is around 1500 line of json code but when I get json payload I get this error. my APIs sometimes call some time giving me 500 errors. (but sometimes it's working fine. (if anyone can have an idea pls suggest).
Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path '', line 1, position 63.

Jignesh KumarPosted Feb 12, 2023, 5:54 AM
Hi Suraj,
Before parsing to your model, Have you check API response is correct, Please check you json response using online json Validator which will help you to identify jason response is valid or not.
some time json may missing quates or not proper, you can validate your json using this online link, follow below steps
If its converting then response is correct else something missing in jason.
Naimish MakwanaPosted Feb 10, 2023, 4:10 PM
Hello Suraj,
It is possible that string value in your JSON code is missing a closing quote mark.
You can validate your json response from below site : https://jsoneditoronline.org/
If your JSON is formated than it should be valid JSON and if is not then there is an issue with the response string.
Thanks
Naimish Makwana