Hi, I’m trying to pass data from a web hook response to a website. I’ve been struggling for hours and about to give up. Here are my modules. The data is all fine but when I return the data to my site I get an error. Chat GPt was totally useless and just kept contradicting its self.
Any ideas would be appreciated. Cheers.
You have to send a valid JSON, Check if escapeResult
is a valid json here: https://jsonlint.com/
I passed plain text and it worked! Not sure how to pass Json so ill give that a read, cheers
Assuming the output of the OpenAI module is valid JSON, then this will make the variable no longer valid JSON.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew