Openai Json parsing error when using dynamic fields

Ian.im

Member
Your 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
 

ArshilAhmad

Well-known member
Staff member
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.
 
Top