https://retellai.com/?utm_source=discord&utm_medium=seo logo
My post call traction is giving me this message "E...
# ❓・ai-evy-support
l
@AI Evy My post call extraction is giving me this message "Error in parsing JSON for call analysis"
a
Thanks for tagging me @Luke. I'll look through relevant sources and get back to you shortly.
### Answer This "Error in parsing JSON for call analysis" issue has been reported by other users and is typically caused by special characters in the transcript—specifically Unicode smart quotes (like curly quotes) that break JSON parsing during post-call analysis. [(1) ]() To resolve this: 1. Review and adjust your post-call analysis prompting - Modify the prompts for your post-call analysis to avoid or handle formatting that could produce invalid JSON. 2. Check detailed call logs - Look at the logs for: - Any error messages during the analysis phase - The exact time when the analysis process fails - Whether the issue happens consistently or intermittently [(2) ]() 3. Consider sanitizing output - If your agent responses or user inputs contain special characters, you may need to adjust your prompting to produce cleaner text that won't break JSON parsing. [(1) ]() This is a known issue that can be addressed through prompt adjustments on your end.
​ To learn more, see the sources I considered: [[1] call history error in parsing json](https://discord.com/channels/1186424376300679209/1449983415532257280) [[2] Post-call analysis "Error in parsing openai JSON forn call anaylisis"](https://discord.com/channels/1186424376300679209/1395844709015883847) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.