Describe the problem/error/question
I built a custom node with 2 simple actions (1 GET and 1 POST) and a simple auth to integrate another external system via Rest API. I used the this.helpers.requestWithAuthentication first and everything worked as expected. After linting the code I switched to this.helpers.httpRequestWithAuthentication and now always get a 503 response to my target.
If I change the target Url to another website like google.de it works, only when I call a website or api of my target system, the problem occurs.
Hopefully somebody got an idea, as I’m searching for 2 weeks now without a solution.
What is the error message (if any)?
Service unavailable 503
orkflow execution finished with error {“error”:{“level”:“warning”,“tags”:{},“description”:“Request failed with status code 503”,“timestamp”:1763412397548,“context”:{},“functionality”:“regular”,“name”:“NodeApiError”,“node”:{“parameters”:{“action”:“getAccountname”},“type”:“CUSTOM.matool”,“typeVersion”:1,“position”:[208,0],“id”:“c3fc9abb-c113-42cb-80d4-bbd54778c548”,“name”:“Matool”,“credentials”:{“matoolApi”:{“id”:“tm70fPDaiXLZrovW”,“name”:“MATOOL account”}}},“messages”:[“Request failed with status code 503”],“httpCode”:“503”,“message”:“Service unavailable - try again later or consider setting this node to retry automatically (in the node settings)”,“stack”:“NodeApiError: Service unavailable - try again later or consider setting this node to retry automatically (in the node settings)\n at ExecuteContext.httpRequestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1365:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at ExecuteContext.httpRequestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1737:11)\n at ExecuteContext.execute (/home/node/.n8n/custom/nodes/Matool/Matool.node.ts:303:32)\n at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1093:8)\n at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1274:11)\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1676:27\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2292:11”},“workflowId”:“jfQVizRP6nrXGK46”,“file”:“logger-proxy.js”,“function”:“exports.debug”}
Please share your workflow
{
“nodes”: [
{
“parameters”: {},
“type”: “n8n-nodes-base.manualTrigger”,
“typeVersion”: 1,
“position”: [
0,
0
],
“id”: “74694762-896f-4c05-bfd3-b2a0dc777da6”,
“name”: “When clicking ‘Execute workflow’”
},
{
“parameters”: {},
“type”: “CUSTOM.matool”,
“typeVersion”: 1,
“position”: [
208,
0
],
“id”: “c3fc9abb-c113-42cb-80d4-bbd54778c548”,
“name”: “Matool”,
“credentials”: {
“matoolApi”: {
“id”: “tm70fPDaiXLZrovW”,
“name”: “MATOOL account”
}
}
}
],
“connections”: {
“When clicking ‘Execute workflow’”: {
“main”: [
[
{
“node”: “Matool”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “558d88703fb65b2d0e44613bc35916258b0f0bf983c5d4730c00c424b77ca36a”
}
}
Share the output returned by the last node
orkflow execution finished with error {“error”:{“level”:“warning”,“tags”:{},“description”:“Request failed with status code 503”,“timestamp”:1763412397548,“context”:{},“functionality”:“regular”,“name”:“NodeApiError”,“node”:{“parameters”:{“action”:“getAccountname”},“type”:“CUSTOM.matool”,“typeVersion”:1,“position”:[208,0],“id”:“c3fc9abb-c113-42cb-80d4-bbd54778c548”,“name”:“Matool”,“credentials”:{“matoolApi”:{“id”:“tm70fPDaiXLZrovW”,“name”:“MATOOL account”}}},“messages”:[“Request failed with status code 503”],“httpCode”:“503”,“message”:“Service unavailable - try again later or consider setting this node to retry automatically (in the node settings)”,“stack”:“NodeApiError: Service unavailable - try again later or consider setting this node to retry automatically (in the node settings)\n at ExecuteContext.httpRequestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1365:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at ExecuteContext.httpRequestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1737:11)\n at ExecuteContext.execute (/home/node/.n8n/custom/nodes/Matool/Matool.node.ts:303:32)\n at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1093:8)\n at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1274:11)\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1676:27\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2292:11”},“workflowId”:“jfQVizRP6nrXGK46”,“file”:“logger-proxy.js”,“function”:“exports.debug”}
Information on your n8n setup
- n8n version: 1.115.3
- Database (default: SQLite): postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: windows 11