Problem in node ‘Slack Trigger‘ Cannot read properties of undefined (reading 'type')

hi i have a problem with the slack trigger and i cant figure it out

webhooks are set up incoming and outgoing. outgoing works fine. i can post to my channel.

but incoming i have a problem and i cant figure out what this is. i also dont have enough knowledge to solve this with scripting.

{
“errorMessage”: “Cannot read properties of undefined (reading ‘type’)”,
“errorDetails”: {},
“n8nDetails”: {
“n8nVersion”: “1.71.3 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“TypeError: Cannot read properties of undefined (reading ‘type’)”,
" at WebhookContext.webhook (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Slack/SlackTrigger.node.ts:335:36)“,
" at Workflow.runWebhook (/usr/lib/node_modules/n8n/node_modules/n8n-workflow/src/Workflow.ts:1276:29)”,
" at Object.executeWebhook (/usr/lib/node_modules/n8n/src/webhooks/webhook-helpers.ts:258:39)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at /usr/lib/node_modules/n8n/src/webhooks/test-webhooks.ts:117:25"
]
}
}

I’m sure someone can help me with this. Thanks in advance

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @wctc_van_weesenbeek

Thanks for posting here and welcome to the community! :cake:

Can you please share your workflow (ideally with some pinned dummy data) so we can see what your configurations are that could be causing this error?

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!