JSON looks fine and result was showing in the expression screen correctly, though when I tried to run it the error msg prompted “JSON parameter needs to be valid JSON”, please advice how I could fix it, I’m trying to use the Title and Contents and upload to blogger, thank you so much!
Hi all…I encountered the the same problem when I added a code note to remove the html blockers~~~~ The results are showing correctly inside the expression window but error occurred for JSON invalid…Please advice~~ Thanks!!
use JSON.stringify() again on $json.content so it escape characters like quotes (") and backslashes (\). which will cause issues with the json structure
Thank you all, should be like this:
{
“kind”: “blogger#post”,
“blog”: {
},
“title”: “{{ $json.data[1].output.title}}”,
“content”: {{ JSON.stringify( $json.content ) }}
}