Predefined rules mutually exclusive
What the PredefinedRuleExclusive 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/predefined-rule-exclusive. See Errors and status codes for the shape every error shares.
Cannot attach predefined rule <id> to this engine. It is mutually exclusive with <heldId>, which the engine already applies. Detach <heldId> first, then attach <id>.
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.
| Field | Type |
|---|---|
id | string |
heldId | string |
Example #
json
{
"detail": "Cannot attach predefined rule <id> to this engine. It is mutually exclusive with <heldId>, which the engine already applies. Detach <heldId> first, then attach <id>.",
"id": "<id>",
"heldId": "<heldId>",
"type": "https://lingo.dev/docs/api/errors/predefined-rule-exclusive",
"status": 409,
"title": "Predefined rules mutually exclusive"
}Returned by #
PUT /v2/engines/{engineId}/predefined-rules/{id}