Decision pool in use

What the DecisionPoolInUse error (409 Conflict) means, the fields it carries, and the endpoints that return it.

The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/decision-pool-in-use. See Errors and status codes for the shape every error shares.

The decision pool cannot be archived while engines route human review to it: <name>, 2 engines you cannot see. Remove it from their routes first.

Fields #

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
enginesobject[]
engines[].idstring
engines[].namestring
hiddenEnginesinteger

Example #

json
{
  "detail": "The decision pool cannot be archived while engines route human review to it: <name>, 2 engines you cannot see. Remove it from their routes first.",
  "engines": [
    {
      "id": "<id>",
      "name": "<name>"
    }
  ],
  "hiddenEngines": 2,
  "type": "https://lingo.dev/docs/api/errors/decision-pool-in-use",
  "status": 409,
  "title": "Decision pool in use"
}

Returned by #

  • POST /v2/organizations/{orgId}/decision-pools/{id}/archive