JSON parameter needs to be a valid JSON

JSON parameter needs to be a valid JSON

What is the error message (if any)?

Please share your workflow

stuck on HTTP node




(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.86.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Ronnie_Ysela_Craig

The last screenshot indeed shows not valid JSON,
Try this expression:

"prompt": {{ JSON.stringify( $("AI Agent").item.json.output ) }},

i"m testing it out now, that helped me move forward past that node. Thank you @mohamed3nan what an amazing group this is here!

2 Likes

You’re welcome, please make that reply as the solution :white_check_mark:, if your issue got resolved :pray:t2:

1 Like

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