Openai Json parsing error when using dynamic fields
Status: Open · Asked by Ian.im on · 0 views
Task History ID: IjU3NjUwNTY4MDYzNjA0MzQ1MjZmNTUzYzUxMzUi_pc
Hello,
In the Openai action step I'm getting a Json parsing error when using data from previous step as a dynamic input but when I copy/paste the output from the previous step as text it works.
Thanks in advance,
Ian
Hi @Ian.im,
Based on the workflow you have shared, I can see that the JSON you are trying to map in the OpenAI action step is invalid, which is causing the error you are encountering. Please make sure that you map a valid JSON.
https://drive.google.com/file/d/11vdeAcloOdvYh1f772Atch6nmroJwXwq/view?usp=sharing
To check whether a JSON is valid or not, you can use this website.
https://jsonlint.com/