</>{
“nodes”: [
{
“parameters”: {
“options”: {}
},
“id”: “c642161f-7c29-402a-94ed-38ae6d3e33da”,
“name”: “When chat message received”,
“type”: “@n8n/n8n-nodes-langchain.chatTrigger”,
“typeVersion”: 1.5,
“position”: [
-240,
-32
],
“webhookId”: “8734f6c1-092c-4374-a780-036a02b3c3f7”
},
{
“parameters”: {
“options”: {
“systemMessage”: “You are a customer service agent. You have access to a customer database and an order database.\n\nWhen asked about customers, use the GetCustomers tool to look up their information.\nWhen asked about orders, prices, employees, or product categories, use the GetOrderData tool.\n\nBe concise and helpful. If the data does not contain what the user is asking for, say so. Do not make up information.”
}
},
“id”: “ffefacd7-bc8a-4aa0-a9a5-9c16b743246b”,
“name”: “AI Agent”,
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 3.1,
“position”: [
-48,
-32
]
},
{
“parameters”: {
“model”: {
“__rl”: true,
“value”: “gpt-5-mini”,
“mode”: “list”,
“cachedResultName”: “gpt-5-mini”,
“cachedResultUrl”: “”
},
“builtInTools”: {},
“options”: {}
},
“id”: “7545e73b-e996-4a1b-b524-3ff9d27cc7e5”,
“name”: “OpenAI Chat Model”,
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.3,
“position”: [
-160,
144
],
“credentials”: {
“openAiApi”: {
“id”: null,
“name”: “”,
“__aiGatewayManaged”: true
}
}
},
{
“parameters”: {},
“id”: “2464df52-5dd2-4f31-9ff4-37e720e0fe9f”,
“name”: “Simple Memory”,
“type”: “@n8n/n8n-nodes-langchain.memoryBufferWindow”,
“typeVersion”: 1.4,
“position”: [
-16,
144
]
},
{
“parameters”: {
“operation”: “get”,
“dataTableId”: {
“__rl”: true,
“value”: “4qadZGdey3taGJtr”,
“mode”: “list”,
“cachedResultName”: “customers”,
“cachedResultUrl”: “/projects/WHn8tk71EEG1i7Bz/datatables/4qadZGdey3taGJtr”
},
“returnAll”: true
},
“id”: “b3fb204c-9a00-4bb7-9b8d-b922945432f4”,
“name”: “GetCustomers”,
“type”: “n8n-nodes-base.dataTableTool”,
“typeVersion”: 1.1,
“position”: [
112,
144
]
},
{
“parameters”: {
“toolDescription”: “Retrieve order details including order prices, quantities, product categories, employee assignments, and order statuses for all customers”,
“url”: “https://learn.app.n8n.cloud/webhook/courses/n8n-quickstart/order-tool”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “httpHeaderAuth”,
“options”: {}
},
“id”: “fa3b201a-8b21-4cdd-9097-2b0b44469fcb”,
“name”: “GetOrderData”,
“type”: “n8n-nodes-base.httpRequestTool”,
“typeVersion”: 4.5,
“position”: [
240,
144
],
“credentials”: {
“httpHeaderAuth”: {
“id”: “ZhJuY7w4AtupIaIH”,
“name”: “X-API-KEY”
}
}
}
],
“connections”: {
“When chat message received”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
},
“OpenAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Simple Memory”: {
“ai_memory”: [
[
{
“node”: “AI Agent”,
“type”: “ai_memory”,
“index”: 0
}
]
]
},
“GetCustomers”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“GetOrderData”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “407047cb51a6825681788f7145c6dada2742c4bac5bcb91d933afc4bad2022b9”
}
}
Describe the problem/error/question
<!-</>{
“errorMessage”: “Forbidden - perhaps check your credentials?”,
“errorDescription”: “Authorization data is wrong!”,
“errorDetails”: {
“rawErrorMessage”: [
“403 - "Authorization data is wrong!"”
],
“httpCode”: “403”
},
“n8nDetails”: {
“nodeName”: “GetOrderData”,
“nodeType”: “n8n-nodes-base.httpRequestTool”,
“nodeVersion”: 4.5,
“itemIndex”: 0,
“time”: “10/4/2026, 8:11:44 PM”,
“n8nVersion”: “2.42.2 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: Forbidden - perhaps check your credentials?”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file++++home+runner+_work+n8n+n8n+packages+nodes-base/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:892:16)“,
" at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file++++home+runner+_work+n8n+n8n+packages+core/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1129:8)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file++++home+runner+_work+n8n+n8n+packages+core/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1431:11)“,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file++++home+runner+_work+n8n+n8n+packages+core/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2333:27”,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file++++home+runner+_work+n8n+n8n+packages+core/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2814:11"
]
}
}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
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: