Source is not valid JSON (Although AI said it is)




Does anyone know why?
The result is generated using ChatGPT and into Parse JSON

Hi @Lovinto , when you are passing it to JSON module it take whole output as JSON and you can see the marked part its not a valid JSON structure

So either update your AI prompt to not return anything extra like pre and post-text along with JSON, or you can simply turn the AI setting to set the response back to JSON as you can see below. in that case, it will automatically return the JSON parsed and no need for a parse module.

Thanks

1 Like