Webhook can't read data (getNodeParameter is undefined)

Describe the problem/error/question

I’m trying to do a webhook from instantly.ai to slack. I tested it with webhook test mode and everything worked. However in production I’m getting an error.

What is the error message (if any)?

TypeError: Cannot read properties of undefined (reading 'getNodeParameter')
    at Object.webhook (/home/node/.n8n/nodes/node_modules/n8n-nodes-base/nodes/Webhook/Webhook.node.ts:97:27)
    at Workflow.runWebhook (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:614:101)
    at Object.executeWebhook (/usr/local/lib/node_modules/n8n/dist/WebhookHelpers.js:191:48)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

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: 1.16.0
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: ubuntu 20.04

Noticed after installed a bunch of community nodes, which may have changed some of the packages versions

Hey @Dominic_Jay,

Have you made sure that your n8n workers are running the same version of n8n as the main instance? Are you also using webhook workers or normal workers?