As a newbie with n8n, I’ve started to create a workflow from: A longer introduction | n8n Docs
all went well until the: Step six: Output data from your workflow, point 9 and 10, adding the expression: {{$json[“classType”]}}
In the previous point 7 I’ve pasted the Postbin ID into Bin ID but in point 8 I needed to configured the data to send to Postbin within the Expression tab and open the full expression editor.
Here, I think I’ve made a mistake as apparently I can’t have booth data in the expression tab: the Bin ID and the expression from point 10 ( {{$json[“classType”]}} ) . After I’ve added booth data, the Bin ID and the expression the error has appeared: :The connection cannot be established, this usually occurs due to an incorrect host (domain) value.
I’ve tried play with it in multiple ways: to leave only one of the 2 expressions either the Bin ID or {{$json[“classType”]}} , or There was a solar flare of class {{$json[“classType”]}} but I’m still getting the same error. I’m stuck and I need your help.
Could you please help me understand and solve this error?
Describe the problem/error/question
What is the error message (if any)?
The connection cannot be established, this usually occurs due to an incorrect host (domain) value.
Please share your workflow
Share the output returned by the last node
{
"errorMessage": "The connection cannot be established, this usually occurs due to an incorrect host (domain) value",
"errorDetails": {
"rawErrorMessage": [
"getaddrinfo ENOTFOUND www.postb.in",
"getaddrinfo ENOTFOUND www.postb.in"
],
"httpCode": "none"
},
"n8nDetails": {
"nodeName": "PostBin",
"nodeType": "n8n-nodes-base.postBin",
"nodeVersion": 1,
"resource": "bin",
"operation": "get",
"itemIndex": 0,
"runIndex": 0,
"time": "8/21/2024, 1:05:02 PM",
"n8nVersion": "1.54.3 (Cloud)",
"binaryDataMode": "filesystem",
"stackTrace": [
"NodeApiError: The connection cannot be established, this usually occurs due to an incorrect host (domain) value",
" at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/RoutingNode.js:175:23)",
" at processTicksAndRejections (node:internal/process/task_queues:95:5)",
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:779:23)",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:673:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1104:20"
]
}
}
Item Index
0
Run Index
0
Node type
n8n-nodes-base.postBin
Node version
1 (Latest)
n8n version
1.54.3 (Cloud)
Time
8/21/2024, 1:05:02 PM
Stack trace
NodeApiError: The connection cannot be established, this usually occurs due to an incorrect host (domain) value at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/RoutingNode.js:175:23) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:779:23) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:673:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1104:20
Information on your n8n setup
- **n8n version: 1.54.3
- **Database: SQLite
- **n8n EXECUTIONS_PROCESS setting: default
- **Running n8n via: n8n cloud
- **Operating system: Windows