HI,
I am trying to call an API with AI agent and HTTP request. As an input parameter I am sending object ID. I am constantly getting “Invalid URL”
{
"parameters": {
"toolDescription": "get metadata for business object by id",
"url": " https://testdl-schema/v1/schema-creation-currated/{boId}",
"sendHeaders": true,
"parametersHeaders": {
"values": [
{
"name": "cookie",
"valueProvider": "fieldValue",
"value": ""
}
]
},
"placeholderDefinitions": {
"values": [
{
"name": "boId",
"description": "=the id of the first business object / bussiness_object from the list {{ $json.output.business_object[0].id }}"
}
]
},
"optimizeResponse": true
},
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"typeVersion": 1.1,
"position": [
520,
100
],
"id": "49a062f4-771e-4181-bc4d-368036583b92",
"name": "get metadata",
"notesInFlow": false
},
I can see from debug that parameter correctly passed to the node:
but I am getting “There was an error: “Invalid URL””
I cant find any place to exactly see what request n8n has made
Information on your n8n setup
- n8n version: 1.84.3
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: