Problem in node ‘HTTP Request‘

Describe the problem/error/question

When I try make a HTTP request with Header Auth show me a error

What is the error message (if any)?

Forbidden - perhaps check your credentials?

Please share your workflow

Share the output returned by the last node

{
“errorMessage”: “Forbidden - perhaps check your credentials?”,
“errorDescription”: “\r\n403 Forbidden\r\n\r\n

403 Forbidden

\r\n\r\n\r\n”,
“errorDetails”: {
“rawErrorMessage”: [
“403 - "\r\n403 Forbidden\r\n\r\n

403 Forbidden

\r\n\r\n\r\n"”
],
“httpCode”: “403”
},
“n8nDetails”: {
“nodeName”: “HTTP Request”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “21/01/2025, 16:46:01”,
“n8nVersion”: “1.73.1 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Forbidden - perhaps check your credentials?”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:525:33)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:634:19)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:874:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1305:20"
]
}
}

Information on your n8n setup

  • **n8n version:1.73.1
  • **Database (default: SQLite):Postgres
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):main
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):docker
  • **Operating system:Linux

For me, for now the solution in my case is set a Options-Response-Response Format Json

image

1 Like