BillionaireDucksB
BuildShip2y ago
2 replies
BillionaireDucks

json string error template

Hello , does anyone know where this error is coming from? I am using the base template I feel like I am missing a step here. It is saying Unexpected token Y in JSON at position 4
Screenshot_2024-03-10_at_9.40.17_AM.png
Solution
Hi @BillionaireDucks, you can confirm if the output from the OpenAI node is correct and a valid JSON string, the error Unexpected token Y in JSON at position 4 occurs due to the string or the value you are trying to parse the possible reason for this could be - an empty string, an empty array or an incomplete (a.k.a malformed) JSON data.
Was this page helpful?