I received error when use HTTP Request method GET and Headers: {{JSON.parse(’{“Cookie”: “JSESSIONID=…”}’)}}
Error: RequestError: Error: Argument error, options.body.
at Object.execute (C:\Users\rodrigo\AppData\Roaming\npm\node_modules\n8n\node_modules\n8n-nodes-base\dist\nodes\HttpRequest.node.js:762:27)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async C:\Users\rodrigo\AppData\Roaming\npm\node_modules\n8n\node_modules\n8n-core\dist\src\WorkflowExecute.js:369:47
The only workaround, until the next version got released, would be to set “JSON/RAW Parameters” to true and then JSON.stringify the data in the “Body Parameters”.
I was not able to make it work with that workaround, though. It looks like even if I’m able to turn the object into a string in the previous step, it turns back into an object again when the expression is analyzed: