Hi all!
It seems that we have a problem with the HTTP Request node in the way it sends requests.
I have to generate a request starting by this simple curl call:
curl --location --request POST 'https://bifrost.deskera.com/v1/iam/auth/sign-in/web/sign-in' \ --header 'Content-Type: application/json' \ --data-raw '{ "password":"some_password", "userName":"some_username" }'
If i do this request using my pc console or using Postman, it works.
However, if i try to use a HTTP Request Node, it does not work and returns to me a 403 Error, like it does not send the body itself.
I have tried using the ‘Import cURL’ feature, but it still respond to me with error. Here is the node:
Have someone else experienced the same problem?
More info:
{"status":"rejected","reason":{"message":"403 - {\"type\":\"Buffer\",\"data\":[60,104,116,109,108,62,13,10,60,104,101,97,100,62,60,116,105,116,108,101,62,52,48,51,32,70,111,114,98,105,100,100,101,110,60,47,116,105,116,108,101,62,60,47,104,101,97,100,62,13,10,60,98,111,100,121,62,13,10,60,99,101,110,116,101,114,62,60,104,49,62,52,48,51,32,70,111,114,98,105,100,100,101,110,60,47,104,49,62,60,47,99,101,110,116,101,114,62,13,10,60,47,98,111,100,121,62,13,10,60,47,104,116,109,108,62,13,10]}","name":"Error","stack":"Error: Request failed with status code 403\n at createError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:269:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)"}}