Help with JSON Array to HTTP node from agent

I’ve tried searching but no luck, possibly missing it. Sorry in advance, I am very new to JSON. I am trying to get the agent to put in an array for this placeholder {proposed_corrections} The JSON when checked is valid… I’m stumped. Is there a step I’m missing?

What is the error message (if any)?

I am getting a few error messages, the latest is:
Could not replace placeholders in body: Bad control character in string literal in JSON at position 182

Please share your workflow

Share the output returned by the last node

Other info

n8n version

1.73.1 (Cloud)

Time

1/20/2025, 5:22:55 PM

Error cause

{ "level": "error", "tags": {} }

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • **Running n8n via n8n cloud
  • Operating system: Windows 11

This error is occurring on node: POST Create Draft Proposal On Building

Hi @EFP

It could be due to some formatting issues in your JSON.


(You can use a JSON validator to check for the correct syntax.)

However, it could also be some JSON violation that comes from the {proposed_corrections} placeholder. Have you checked what the AI Agent evaluates that too? What’s in the output logs?