In the course level 2 section I am trying to send a message to the course level 2 channel and I keep on getting this error every time.
Error Message :
NodeOperationError: at ExecuteContext.parseDiscordError
Please share your workflow
{
“nodes”: [
{
“parameters”: {},
“id”: “2b8bb9be-b84c-446d-8a8d-290a4b7e24cf”,
“name”: “When clicking "Execute workflow"”,
“type”: “n8n-nodes-base.manualTrigger”,
“typeVersion”: 1,
“position”: [
-780,
20
]
},
{
“parameters”: {
“url”: “https://internal.users.n8n.cloud/webhook/level2-erp”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “httpHeaderAuth”,
“sendHeaders”: true,
“headerParameters”: {
“parameters”: [
{
“name”: “unique_id”,
“value”: “recFIcD6UlSyxaVMQ”
}
]
},
“options”: {}
},
“id”: “a1a73aea-8e2a-436f-93d7-bb45b396893b”,
“name”: “HTTP Request”,
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.1,
“position”: [
-560,
-80
],
“credentials”: {
“httpHeaderAuth”: {
“id”: “XydVC5kcBNlpuPaY”,
“name”: “Header Auth account”
}
}
},
{
“parameters”: {
“mode”: “combine”,
“mergeByFields”: {
“values”: [
{
“field1”: “customerID”,
“field2”: “customerID”
}
]
},
“options”: {}
},
“id”: “df522d19-bcbb-436c-b52d-3aa711ecc0c9”,
“name”: “Merge”,
“type”: “n8n-nodes-base.merge”,
“typeVersion”: 2.1,
“position”: [
-340,
20
]
},
{
“parameters”: {
“sortFieldsUi”: {
“sortField”: [
{
“fieldName”: “orderPrice”,
“order”: “descending”
}
]
},
“options”: {}
},
“id”: “b6344776-ee02-4d20-9159-fc13bb22c234”,
“name”: “Sort”,
“type”: “n8n-nodes-base.sort”,
“typeVersion”: 1,
“position”: [
-120,
20
]
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”
},
“conditions”: [
{
“id”: “d3afe65c-7c80-4caa-9d1c-33c62fbc2197”,
“leftValue”: “={{ $json.region }}”,
“rightValue”: “Americas”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“id”: “bf16bacf-70c4-473e-8296-45880aee712e”,
“name”: “If”,
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2,
“position”: [
120,
-80
]
},
{
“parameters”: {
“operation”: “toJson”,
“mode”: “each”,
“options”: {
“fileName”: “=report_orderID_{{ $(‘If’).item.json.orderID }}.json”
}
},
“id”: “1daa1d5c-0b2c-4ff6-a41e-8fb477dae416”,
“name”: “Convert to File”,
“type”: “n8n-nodes-base.convertToFile”,
“typeVersion”: 1.1,
“position”: [
340,
-80
]
},
{
“parameters”: {
“authentication”: “webhook”,
“content”: “I sent the file using email with the label ID and wrote the binary file {file name}. My ID: 123”,
“options”: {}
},
“id”: “79e54a40-dcd1-4322-b1c3-0e282b34af96”,
“name”: “Discord”,
“type”: “n8n-nodes-base.discord”,
“typeVersion”: 2,
“position”: [
780,
-80
],
“webhookId”: “b7849723-45e8-47e2-8e49-5a2142773036”,
“credentials”: {
“discordWebhookApi”: {
“id”: “egobb00gk5j3v5qK”,
“name”: “Discord Webhook account 2”
}
}
},
{
“parameters”: {
“batchSize”: 5,
“options”: {}
},
“id”: “853acc6b-154a-4a7d-b362-0f258827b277”,
“name”: “Loop Over Items”,
“type”: “n8n-nodes-base.splitInBatches”,
“typeVersion”: 3,
“position”: [
120,
120
]
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “ce839b80-c50d-48f5-9a24-bb2df6fdd2ff”,
“name”: “customerEmail”,
“value”: “={{ $json.customerEmail }}”,
“type”: “string”
},
{
“id”: “0c613366-3808-45a2-89cc-b34c7b9f3fb7”,
“name”: “region”,
“value”: “={{ $json.region }}”,
“type”: “string”
},
{
“id”: “0f19a88c-deb0-4119-8965-06ed62a840b2”,
“name”: “customerSince”,
“value”: “={{ $json.customerSince }}”,
“type”: “string”
},
{
“id”: “a7e890d6-86af-4839-b5df-d2a4efe923f7”,
“name”: “orderPrice”,
“value”: “={{ $json.orderPrice }}”,
“type”: “number”
}
]
},
“options”: {}
},
“id”: “0af56479-5c12-448f-bc46-4a781b23c453”,
“name”: “Edit Fields”,
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.3,
“position”: [
340,
120
]
},
{
“parameters”: {
“operation”: “formatDate”,
“date”: “={{ $json.customerSince }}”,
“options”: {
“includeInputFields”: true
}
},
“id”: “a5adf856-db7c-4ea9-8e37-9d4760decd71”,
“name”: “Date & Time”,
“type”: “n8n-nodes-base.dateTime”,
“typeVersion”: 2,
“position”: [
560,
120
]
},
{
“parameters”: {
“options”: {
“fileName”: “={{$runIndex > 0 ? ‘file_low_orders’:‘file_high_orders’}}”
}
},
“id”: “163887cc-fe8d-467f-85a5-a83820b49175”,
“name”: “Convert to File1”,
“type”: “n8n-nodes-base.convertToFile”,
“typeVersion”: 1.1,
“position”: [
780,
120
]
},
{
“parameters”: {
“authentication”: “webhook”,
“content”: “I created the spreadsheet {file name}. My ID: 123”,
“options”: {}
},
“id”: “4ef9a59d-cd1f-49cb-99cd-86b2185bff8d”,
“name”: “Discord1”,
“type”: “n8n-nodes-base.discord”,
“typeVersion”: 2,
“position”: [
1000,
120
],
“webhookId”: “fe451b50-c16a-4ed2-b604-8d9e6c837377”
},
{
“parameters”: {
“operation”: “search”,
“base”: {
“__rl”: true,
“value”: “app3uIFG9VIjjP2lD”,
“mode”: “list”,
“cachedResultName”: “orders”,
“cachedResultUrl”: “Airtable”
},
“table”: {
“__rl”: true,
“value”: “tblbVHDC3PB0rAxzk”,
“mode”: “list”,
“cachedResultName”: “orders12”,
“cachedResultUrl”: “Airtable”
},
“options”: {}
},
“id”: “280fc11a-85ee-4f38-be53-7c184383cfe6”,
“name”: “Search records”,
“type”: “n8n-nodes-base.airtable”,
“typeVersion”: 2,
“position”: [
-560,
120
],
“credentials”: {
“airtableTokenApi”: {
“id”: “ap9gNJhpRnWX7Lw5”,
“name”: “Airtable Personal Access Token account”
}
}
},
{
“parameters”: {
“sendTo”: “[email protected]”,
“subject”: “Your TPS Reports”,
“emailType”: “text”,
“message”: “Please find your TPS report attached.”,
“options”: {
“attachmentsUi”: {
“attachmentsBinary”: [
{}
]
}
}
},
“id”: “47702020-ccfd-4cfd-b006-29b1ff5ef407”,
“name”: “Send a message”,
“type”: “n8n-nodes-base.gmail”,
“typeVersion”: 2.1,
“position”: [
560,
-80
],
“webhookId”: “04cfc79e-8e1c-41ae-a6b4-486352399a1d”,
“credentials”: {
“gmailOAuth2”: {
“id”: “isKyAq53pmWKXaPZ”,
“name”: “Gmail account”
}
}
}
],
“connections”: {
“When clicking "Execute workflow"”: {
“main”: [
[
{
“node”: “HTTP Request”,
“type”: “main”,
“index”: 0
},
{
“node”: “Search records”,
“type”: “main”,
“index”: 0
}
]
]
},
“HTTP Request”: {
“main”: [
[
{
“node”: “Merge”,
“type”: “main”,
“index”: 0
}
]
]
},
“Merge”: {
“main”: [
[
{
“node”: “Sort”,
“type”: “main”,
“index”: 0
}
]
]
},
“Sort”: {
“main”: [
[
{
“node”: “Loop Over Items”,
“type”: “main”,
“index”: 0
},
{
“node”: “If”,
“type”: “main”,
“index”: 0
}
]
]
},
“If”: {
“main”: [
[
{
“node”: “Convert to File”,
“type”: “main”,
“index”: 0
}
]
]
},
“Convert to File”: {
“main”: [
[
{
“node”: “Send a message”,
“type”: “main”,
“index”: 0
}
]
]
},
“Loop Over Items”: {
“main”: [
,
[
{
“node”: “Edit Fields”,
“type”: “main”,
“index”: 0
}
]
]
},
“Edit Fields”: {
“main”: [
[
{
“node”: “Date & Time”,
“type”: “main”,
“index”: 0
}
]
]
},
“Date & Time”: {
“main”: [
[
{
“node”: “Convert to File1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Convert to File1”: {
“main”: [
[
{
“node”: “Discord1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Discord1”: {
“main”: [
[
{
“node”: “Loop Over Items”,
“type”: “main”,
“index”: 0
}
]
]
},
“Search records”: {
“main”: [
[
{
“node”: “Merge”,
“type”: “main”,
“index”: 1
}
]
]
},
“Send a message”: {
“main”: [
[
{
“node”: “Discord”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “d9d90cd710e1a217dfdbb686d1a3c4e7b1ccb8699505711b2660fc7295b7b32d”
}
}
(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
<!-- If you need help with data transformations, please also share your expected output. -->
## 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:**