action_executing
POST /v1/actions/{id}/cancel on an approved scheduled action whose run has already started: the worker claimed its approval_resume job, so the call may be reaching the connector now.
HTTP 409 · invalid_request_error · not retryable
What happened
Section titled “What happened”POST /v1/actions/{id}/cancel on an approved scheduled action whose run has already started: the worker claimed its approval_resume job, so the call may be reaching the connector now. Cancelling an approved scheduled action works only while its job is still waiting for the window.
What to do
Section titled “What to do”Wait for the action to finish and read its deed (deedglass actions show <id> --wait).
Example
Section titled “Example”{ "error": { "type": "invalid_request_error", "code": "action_executing", "message": "It's running now and can't be cancelled. Its deed will show what happened.", "param": null, "request_id": "req_01j9zr3m5k8q2w7x4t6v0b1c9d", "doc_url": "https://docs.deedglass.com/errors/action_executing" }}The message is for a person and can get more exact over time: branch on type and code, never on the message.
In the SDKs
Section titled “In the SDKs”| SDK | Raised as |
|---|---|
TypeScript (@deedglass/sdk) |
InvalidRequestError with code === "action_executing" |
Python (deedglass) |
deedglass.InvalidRequestError with .code == "action_executing" |