active_connector_connections (409)
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 workflow or in a routing rule, and are blocking the delete or deactivation.
When it fires
A DELETE /v1/workflow-templates/{id}, or a PATCH that sets is_active to false, targeted a template that at least one connector connection uses. A connection uses a template as its default workflow or in a routing rule that selects a workflow. A connection counts even when it is disabled. Removing or deactivating the template would leave those connections unable to start verifications for the reservations that use it, so the operation is refused. A PATCH on a template that is already inactive is not refused.
How to handle it
The details.connectionIds array holds the blocking connection ids, but the console does not show ids. Open the Integrations page in the console. Change the default workflow or routing rule of each integration that uses this template. Then retry the delete or deactivation.
Example response
{
"error": {
"type": "https://docs-dev.autohost-dev.uk/api/errors/active_connector_connections",
"code": "active_connector_connections",
"message": "This workflow template is used by 1 integration(s), as the default workflow or in a routing rule. Change those integrations on the Integrations page in the console, then try to delete it again.",
"request_id": "req_01HEXAMPLE0000000000000000",
"doc_url": "https://docs-dev.autohost-dev.uk/api/errors/active_connector_connections",
"details": {
"connectionIds": [
"3f2b8c1e-5a4d-4e7b-9c60-1d2e3f4a5b6c"
]
}
}
}