I have a XML API, but if i try this request with n8n, i will get the following error.
If i made the same request with curl i got a right response.
What is the error message (if any)?
ERROR: UNKNOWN ERROR - check the detailed error for more information
Invalid header value char
{“status”:“rejected”,“reason”:{“message”:“Parse Error: Invalid header value char”,“name”:“Error”,“stack”:“Error: Parse Error: Invalid header value char\n at TLSSocket.socketOnData (node:_http_client:534:22)\n at TLSSocket.emit (node:events:513:28)\n at TLSSocket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at TLSSocket.Readable.push (node:internal/streams/readable:228:10)\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)”,“code”:“HPE_INVALID_HEADER_TOKEN”}}
That is odd, It looks like the service is returning an invalid header but I can’t work out which one it is. I will need to do some more digging into this one to work it out.
@Jon , thanks for your reply, i tried it now with an own Node, with the old helpers.request and the new helpers.httpRequest both have the same problem.
But for your information, i have a Windows n8n Version installed in my Notebook, it is old version 0.182.0, but there it work without problem.