I have updated n8n docker version to 0.217.1. But still facing the same kind of issue. Please check below are the my json structure, which I’m trying send in body parameter.
{
"lastKnownData": <Stringified JSON>
}
Can you share the correct request which is working from your end?
I copied your node and sent the request to webhook.site and it worked, The workflow I ran is below. Is it possible that you are not using the same node that you shared with us?
Annoyingly I am not able to reproduce it and everything looks fine, The second error with the ECONNREFUSED message looks to be a network issue where the connection on port 80 is being refused.
Can you try the workflow I shared to see if that works for you?
Do you have the exact payload from the HTTP node for a request that fails? (You can see it in the developer console if it’s a manual execution).
The HTTP node has some functionality that escapes the JSON in the body if it detects that it will be invalid JSON. Unfortunately it’s a little overeager sometimes and will start doing this if the contents contains things like an apostrophe ('). We’re working on fixing this.