Bug Description
Hi,
From n8n version 1.117.X I am getting some exceptions when importing workflows from already exported files. The workflows seems to be imported in n8n properly, but it throws exceptions.
Could not remove webhooks of workflow "srOnR8PAY3u4RSwb" because of error: "Could not find workflow"
To Reproduce
- Go to https://github.com/n8n-io/self-hosted-ai-starter-kit and clone it.
- Start docker compose up
- When the
n8n-importservice it's initializing, it will throw errors when importing workflows
Expected behavior
It should not throw any exception when importing.
Debug Info
This is the exception throw when importing.
n8n-import | Importing 1 workflows...
n8n-import | Could not find workflow
n8n-import | Error: Could not find workflow
n8n-import | at ActiveWorkflowManager.clearWebhooks (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:254:10)
n8n-import | at processTicksAndRejections (node:internal/process/task_queues:105:5)
n8n-import | at ActiveWorkflowManager.remove (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:874:4)
n8n-import | at ImportService.importWorkflows (/usr/local/lib/node_modules/n8n/src/services/import.service.ts:78:5)
n8n-import | at ImportWorkflowsCommand.run (/usr/local/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
n8n-import | at CommandRegistry.execute (/usr/local/lib/node_modules/n8n/src/command-registry.ts:67:4)
n8n-import | at /usr/local/lib/node_modules/n8n/bin/n8n:63:2
n8n-import |
n8n-import | Could not remove webhooks of workflow "srOnR8PAY3u4RSwb" because of error: "Could not find workflow"
n8n-import | Successfully imported 1 workflow.
Operating System
MacOS Tahoe
n8n Version
1.117.1
Node.js Version
N/A (running docker)
Database
PostgreSQL
Execution mode
main (default)
Hosting
self hosted
Bug Description
Hi,
From n8n version 1.117.X I am getting some exceptions when importing workflows from already exported files. The workflows seems to be imported in n8n properly, but it throws exceptions.
Could not remove webhooks of workflow "srOnR8PAY3u4RSwb" because of error: "Could not find workflow"To Reproduce
n8n-importservice it's initializing, it will throw errors when importing workflowsExpected behavior
It should not throw any exception when importing.
Debug Info
This is the exception throw when importing.
Operating System
MacOS Tahoe
n8n Version
1.117.1
Node.js Version
N/A (running docker)
Database
PostgreSQL
Execution mode
main (default)
Hosting
self hosted