Can't stop execution, node n8n delete execution and api/v1/executions not work

There is an issue with a node in n8n and an API request. None of the methods stop the execution by ID.

When making an HTTP POST request to api/v1/executions/549/stop, it returns an error: “The resource you are requesting could not be found”, where 549 is the ID of the running execution.

However, the GET api/v1/executions/549 request works correctly (it returns information about this execution).

I also tried using DELETE, but it does not work either. The n8n delete execution node also returns an error:
“Bad request - please check your parameters. Cannot delete a running execution.”

I need to stop an execution. How can this be implemented?

Information on your n8n setup

  • **n8n version: 1.79.0 **

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:
1 Like

I know this might sound obvious, but do you have terminal access to the machine running n8n? If so, have you tried manually killing the process from the terminal?

You can try the following:

Run:
ps aux | grep n8n

Identify the process ID (PID) and then try stopping it with:
kill -9 <PID>

1 Like

I want to stop processes through automation. For example, send a message in Telegram, and the process stops.

the same question for me !~~~~

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