I’m generating a JSON to send to an api. When I do it get an error JSON parameter need to be valid JSON. But If I copy the results from my JSON into the JSON to send it works fine.
Using the built JSON doesn’t work, but if I copy and past the results of the built JSON it does? What am I missing?
Sadly the example workflow fails to run because there is data missing before the code node. It looks like the json parsing we do is failing which would suggest that maybe the JSON isn’t correct.
If you open the expression editor you can select the json in the bottom pane and check it using something like jsonlint.com
I did make an update to the workflow I put [] around $json.Records in the Generate Link I noticed on example I hadn’t put it back. But the output/results for the expression give me a valid JSON, but when the HTTP node runs it says its not valid