Please help with "CollaborationService push message" error <3

Information on your n8n setup

  • n8n version: 1.73.0
    • Database (default: SQLite):: none so it defaulted to SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): self hosted on render, but i dno which one I used, in the settings in render I have this in the build command: pnpm install --frozen-lockfile; pnpm run build
  • Operating system:: windows

This is the error i keep getting in the logs:

Error handling CollaborationService push message
Error: Error handling CollaborationService push message
    at Push.<anonymous> (/opt/render/project/src/packages/cli/src/collaboration/collaboration.service.ts:37:6)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[
  {
    "code": "invalid_union_discriminator",
    "options": [
      "workflowOpened",
      "workflowClosed"
    ],
    "path": [
      "type"
    ],
    "message": "Invalid discriminator value. Expected 'workflowOpened' | 'workflowClosed'"
  }
]
ZodError: [
  {
    "code": "invalid_union_discriminator",
    "options": [
      "workflowOpened",
      "workflowClosed"
    ],
    "path": [
      "type"
    ],
    "message": "Invalid discriminator value. Expected 'workflowOpened' | 'workflowClosed'"
  }
]
    at Object.get error [as error] (/opt/render/project/src/node_modules/.pnpm/[email protected]/node_modules/zod/lib/types.js:55:31)
    at ZodDiscriminatedUnion.parseAsync (/opt/render/project/src/node_modules/.pnpm/[email protected]/node_modules/zod/lib/types.js:183:22)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at parseWorkflowMessage (/opt/render/project/src/packages/cli/src/collaboration/collaboration.message.ts:34:9)
    at CollaborationService.handleUserMessage (/opt/render/project/src/packages/cli/src/collaboration/collaboration.service.ts:50:27)
    at Push.<anonymous> (/opt/render/project/src/packages/cli/src/collaboration/collaboration.service.ts:34:5)

Not sure why its happened, but I know it wasn’t there when I initially ran the server on render.

Honestly, no idea what I’m doing here or what I’m seeing, so happy to pay for your time ot help me solve this

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:

cool, updated that thanks

1 Like

Same issue here

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.