Ai Agent Tool: HTTP Request - Invalid URL

Describe the problem/error/question

I am trying to use the HTTP Request Tool in AI Agent to connect to a TidyCal Api but I get an error ‘Invalid URL’

If i create the exact same settings in the standard HTTP Request node I get a successful response.

What is the error message (if any)?

Invalid URL

Item Index

0

Run Index

0

Node type

@n8n/n8n-nodes-langchain.toolHttpRequest

Node version

1.1 (Latest)

n8n version

1.80.3 (Self Hosted)

Time

26/02/2025, 13:17:06

Stack trace

NodeApiError: Invalid URL at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/routing-node.js:158:23) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecuteContext.versionedNodeType.execute (/usr/local/lib/node_modules/n8n/dist/node-types.js:55:30) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:627:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:878:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1211:20

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

instance information

Debug info

core

  • n8nVersion: 1.80.3
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.2
  • database: postgres
  • executionMode: scaling
  • concurrency: -1

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/133.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-02-26T13:15:04.932Z

1 Like

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:

To anyone coming back to this. I found that the Invalid URL only occurred if I tried to manually test the Tool HTTP Request node on it’s own. When I ran a full workflow test there was no error and the Agent successfully accessed the API.

2 Likes

Awesome. Please mark this topic as solved.
I was also able to run it fine:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.