Hello,
I am using the Parse JSON action to extract the output.content.text path from a ChatGPT response. When the ChatGPT call succeeded this works well.
The problem I have is when the ChatGPT call fails and therefore provides a different JSON structure. The Parse JSON action errors and I have to manually filter out the failed record so that the successful records can be parsed (annoying when debugging but impossible when scheduled).
Can you suggest how I handle these errors? Many EM actions will provide an error output for just the failed records but Parse JSON does not do that. Is there another action I can use before Parse JSON to identify and filter out the failed records?
Edit: Desktop version 5.9.1.7
Thanks