Open 7Beeai opened 1 week ago
Hey @7Beeai,
We have created an internal ticket to look into this which we will be tracking as "GHC-428"
Allow the workflow to run for an extended period, or configure it to run intermittently.
Observe the workflow over time; it may randomly stop running.
Attempt to access the workflow after it stops running.
Receives message: Could not delete the workflow - you can only access workflows owned by you
Strange that you see this delete error when trying to "access" the workflow.
Thanks for reporting this issue. Answering the questions allows us to reproduce and fix this 🙏🏾
The workflow itself is active for an extended period of time, meaning it remains available and set to run based on triggers or schedules. It’s not continuously executing, but rather it stays active and ready to run. This issue only affects certain workflows, while others continue to run without any problems.
By "extended period," I mean hours to days. Some workflows operate fine for days or even longer before the issue occurs, while others may run normally for just a few hours. The timing is random, and I haven’t identified a consistent timeframe. Importantly, this does not happen with all workflows.
For the affected workflows, they are no longer shown as active in n8n, and no further executions are triggered, even though they should still be available. There is no infinite loop in these workflows; they only trigger based on certain conditions or schedules. After a random period, these specific workflows stop being available and no longer execute, while others continue functioning as expected.
Yes, by "accessing," I mean trying to open the editor to view or edit the workflow. For the affected workflows, when I try to access them after they stop, I receive an error that blocks me from opening them.
This message appears in a popup within the n8n UI when I try to open the affected workflows in the editor. Instead of allowing me to open them, it’s as if I’m being denied access as though I’m not the owner.
Screenshot
The issue does not occur with all workflows. Some workflows run normally for days or hours without any issues, while specific workflows may suddenly block my access, even though I created them. I haven’t observed any clear pattern among the affected workflows; the message says I don’t have permission to access them because they belong to another user, even though I am the original owner.
Thanks for the structured answers and the screenshot, makes debugging this much easier 🙏🏾
Are there any trigger nodes that only the disappearing workflows use or vice versa trigger nodes that only the workflows use that are not disappearing?
Can you still see them in the home section's workflow list or do you have them bookmarked?
Are you the only use on this instance?
Are you an instance owner or instance member?
Bug Description
Occasionally, a workflow in n8n unexpectedly stops running, and my access to the workflow becomes restricted. As a result, I lose access to the workflow entirely, making it impossible to manage or recover it. This issue disrupts processes and results in the permanent loss of the workflow if not restored.
To Reproduce
1- Set up and activate a workflow in n8n. 2- Allow the workflow to run for an extended period, or configure it to run intermittently. 3- Observe the workflow over time; it may randomly stop running. 4- Attempt to access the workflow after it stops running. 5- Receives message: Could not delete the workflow - you can only access workflows owned by you
Expected behavior
The workflow should run continuously without unexpected interruptions. If a workflow stops, access should remain available so it can be reviewed, restarted, or managed without being permanently lost.
Operating System
Ubuntu 24.04.1 LTS
n8n Version
1.66.0
Node.js Version
20.17.0
Database
PostgreSQL
Execution mode
main (default)