JSON formatting issue

I’m guessing this is a JSON error as the JSON is not formatted correctly. When using the ask ChatGPT custom action. Anyone know how to work around it?

Hi @Kylepressley,

Welcome to the community :partying_face:

I guess the issue that you didn’t got a response from the custom action because of the line breaks! You would need to replace the spaces with /n. Check here : SendGrid multiple lines - #2 by theadaloguy

I just tried Nathan’s suggestion with ChatGPT API and it worked! :tada: :fire: But you need to encode the value first. You can use a API, the encode component or the Pragamaflow js component!

Thank you

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.