[Solved] Workflows stuck after installing n8n-nodes-discord-trigger (cannot deactivate, 401 error)

I’m running into a blocking issue with n8n (CE, installed on a VPS with Docker):

After installing the community node n8n-nodes-discord-trigger, the workflows using this node are now stuck in execution.

When I try to deactivate them, I get the following error:

Workflow could not be deactivated: Failed to deactivate trigger of workflow ID “xxxxxxxxxxxxxxx”: “Request failed with status code 401”

The workflows are frozen in execution mode, and I can’t deactivate, edit or delete them.

I tried modifying the SQLite database directly to remove the problematic entries, but the database is read-only, so I’m stuck.

:backhand_index_pointing_right: How can I completely remove these problematic workflows?

  • n8n version: 1.106.3
  • Database: SQLite (Default)
  • n8n EXECUTIONS_PROCESS setting : own (Default)
  • Running n8n via: Docker
  • Operating system: Linux Debian

I managed to solve the issue (with help from ChatGPT), so here’s what worked for me:

  1. Uninstalled the problematic community node (n8n-nodes-discord-trigger).

  2. Restarted the n8n container with:

    docker run ... n8n start --skip-executions
    

    (this prevents workflows from running on startup).

  3. Opened the UI → deactivated and archived the stuck workflows.

  4. Restarted the container normally.

After that, everything was back to normal.