Skip to content

active_connector_connections (409)

← Error reference

active_connector_connections

HTTP status: 409

Retryable: No — retrying without changes will fail the same way.

One or more connector connections use this workflow template as their default and are blocking the delete.

When it fires

A `DELETE /v1/workflow-templates/{id}` targeted a template that is set as the default workflow for at least one connector connection. Deleting the template while connections depend on it would leave those connections without a valid default workflow, so the operation is refused.

How to handle it

Inspect the `details.connectionIds` array in the response to find the blocking connections, then repoint each one to a different workflow template from the console. Once all referencing connections have been updated, retry the delete.

Example response

{
  "error": {
    "type": "https://docs-dev.autohost-dev.uk/api/errors/active_connector_connections",
    "code": "active_connector_connections",
    "message": "This template is the default workflow for one or more connector connections. Repoint them to another workflow before deleting.",
    "request_id": "req_01HEXAMPLE0000000000000000",
    "doc_url": "https://docs-dev.autohost-dev.uk/api/errors/active_connector_connections",
    "details": {
      "connectionIds": [
        "cc_01HEXAMPLE0000000000000001"
      ]
    }
  }
}