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?
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>