Describe the problem/error/question
So I am sending a request to instantly.ai api it is a POST request to add leads to a campaign. The issue is that the JSON isn’t valid even though I have already validated it with 2 different JSON validators.
Here’s what I know so far, when I have it on fixed mode with hardcoded data it works fine. When I have it on expression mode with the input I get from my webhook I start getting the invalid JSON error.
What is the error message (if any)?
JSON parameter needs to be valid JSON
NodeOperationError: JSON parameter needs to be valid JSON at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:207:39) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:632:42) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:872:62 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1206:20
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 4.2
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system: Windows 10