JSON Reader Issues

I have a webhook set up from AWS that sends a JSON file to the input of the flow (I’ve attached the error link at the bottom), but I keep getting an error.

It is saying “Please ensure the passed in JSON is properly formatted…
Please double check your node inputs or parameters”

https://www.gumloop.com/pipeline?run_id=Fdh5oxazZTPHTxwZPJhzo9&workbook_id=sEAp8rVVWqsLTYCHtrVok4&tab=4

Thanks

Hey @SimonSays - The main issue in this JSON is with the apostrophes in words like “Alzheimer’s” and “Parkinson’s”. The JSON is using straight double quotes (") for these apostrophes, which breaks the JSON syntax since double quotes are used to denote string boundaries in JSON.

If this is the expected structure for your inputs I’d recommend creating a custom node that can parse this JSON properly: Gumloop Custom Nodes

With the AI in the custom node builder this should be fairly easy and quick to implement.

HI, Thanks so much for the response.

Question regarding the custom nodes. What kind of prompt would you put for this particular custom node? Because I wrote that the node should repair the JSON and parse it, and it didn’t work.

The prompt would be similar to how you’d prompt Chatgpt/Claude to create a custom script for you so I’d recommend explaining what you’re trying to achieve in detail and if possible add an example input and expected output.

This workshop covers this in detail: https://www.youtube.com/watch?v=ovCCWfgWv4M

Ok, will do. Thanks for your help!

1 Like

Hello!
Trying to connect my wordpress to gumloop but I keep getting this error: ‘That site does not seem to be accessible or no longer has the Jetpack plugin installed.’ However, my site is accessible and has the Jetpack plugin active and connected to my wordpress. Thank you!

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