AI Agent: Call n8n Workflow Tool - Invalid URL error

I want to call a sub workflow, source database, selected from list.

alway throws error “invalid URL”

i can call the sub workflow via “Execute Workflow” node flawlessly.

{
“errorMessage”: “Invalid URL”,
“errorDetails”: {
“rawErrorMessage”: [
“Invalid URL”
],
“httpCode”: “none”
},
“n8nDetails”: {
“nodeName”: “My Open Tasks”,
“nodeType”: “@n8n/n8n-nodes-langchain.toolWorkflow”,
“nodeVersion”: 1.2,
“itemIndex”: 0,
“runIndex”: 0,
“time”: “14.11.2024, 01:50:39”,
“n8nVersion”: “1.67.1 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: Invalid URL”,
" at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/RoutingNode.js:183:23)“,
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:773:23)”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:704:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1134:20"
]
}
}

Is this a bug? Or am I missing something?

Thank you.

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

See

{
“errorMessage”: “Invalid URL”,
“errorDetails”: {
“rawErrorMessage”: [
“Invalid URL”
],
“httpCode”: “none”
},
“n8nDetails”: {
“nodeName”: “My Open Tasks”,
“nodeType”: “@n8n/n8n-nodes-langchain.toolWorkflow”,
“nodeVersion”: 1.2,
“itemIndex”: 0,
“runIndex”: 0,
“time”: “14.11.2024, 01:50:39”,
“n8nVersion”: “1.67.1 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: Invalid URL”,
" at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/RoutingNode.js:183:23)“,
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:773:23)”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:704:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1134:20"
]
}
}

Hey @AiSQUIRE,

That is very odd, Do you have a screenshot of the error? It doesn’t look the error is coming from the execute workflow node so could be an error coming back from the workflow you are calling.

In order to rule out personal mistakes I did copy Suggest meeting slots using AI | n8n workflow template

Same error occured with the “Workflow Tool” node.

So I guess it’s a system error.

It looks like it, I will give it a test this morning and see if I can reproduce it.

1 Like

Hey Jon, did you get a chance to reproduce it?

Did you ever find a solution. I’m having the same issue accesing a Basic LLM Chain.

1 Like

Hey @AiSQUIRE,

Not yet, I have had a play with a simple workflow on 1.68 using the example below and it is working.

Can you test this workflow and try updating.