課程中提供的Webhook URL出錯

在課程的生成報告:生成地區摘要頁面中,提供的webhook URL https://learn.app.n8n.cloud/webhook/courses/n8n-quickstart/notify-reports 返回錯誤(錯誤信息如下所示)

當我嘗試使用自己的 Webhook URL 時,它執行成功。

錯誤:

{
“errorMessage”: " [item 0]“,
“errorDetails”: {},
“n8nDetails”: {
“nodeName”: “Discord”,
“nodeType”: “n8n-nodes-base.discord”,
“nodeVersion”: 2,
“operation”: “sendLegacy”,
“itemIndex”: 0,
“time”: “6/24/2026, 2:06:33 AM”,
“n8nVersion”: “2.27.2 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeOperationError: “,
" at ExecuteContext.parseDiscordError (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@aws-sdk+credential-providers@3.808.0_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Discord/v2/helpers/utils.ts:78:9)”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@aws-sdk+credential-providers@3.808.0_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Discord/v2/actions/webhook/sendLegacy.operation.ts:153:34)”,
" at processTicksAndRejections (node:internal/process/task_queues:104:5)”,
" at ExecuteContext.router (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@aws-sdk+credential-providers@3.808.0_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Discord/v2/actions/router.ts:65:17)“,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@aws-sdk+credential-providers@3.808.0_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Discord/v2/DiscordV2.node.ts:33:10)”,
" at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_cf5896492347c4895f0373f4acc773d7/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1067:8)“,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_cf5896492347c4895f0373f4acc773d7/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1367:11)”,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_cf5896492347c4895f0373f4acc773d7/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1829:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_cf5896492347c4895f0373f4acc773d7/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2521:11"
]
}
}

Hi Akarsh,

Update: I’ve just tried the webhook and noticed this issue happens when the text message isn’t in the correct format or the input isn’t the right answer, n8n server will reject and respond like that. Please double-check if your message has a similar format (e.g, square brackets around assessment_id, order of value, commas, currency character, etc.):

[4e98de96b6ca491137acc0efxxxxxxx] Regional Sales Summary: Oceania - 999 orders, total: $9999.99

Instruction from the course:

This error message is quite generic, so I can’t tell exactly what is happening. I just know there’s an issue with the Discord webhook. Could you copy and paste your whole workflow here so we can investigate? Alternatively, you could share a screenshot of your configuration on the Discord node, along with a screenshot of the return data from the node right before it.

嗨,試試在輸入Assessment-id到「BuildDiscordMessage」節點時加上方括號[]。我就是用這種方法讓Discord節點正常運作,訊息也成功送到n8n-quickstart頻道。我也遇到過和你一樣的錯誤。