Engine suggestion already decided
The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/engine-suggestion-not-pending. See Errors and status codes for the shape every error shares.
This engine suggestion is already applied. Reload the suggestions to see where it stands.
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 |
decision | "Applied" | "Dismissed" |
Example#
json
{
"detail": "This engine suggestion is already applied. Reload the suggestions to see where it stands.",
"id": "<id>",
"decision": "Applied",
"type": "https://lingo.dev/docs/api/errors/engine-suggestion-not-pending",
"status": 409,
"title": "Engine suggestion already decided"
}Returned by#
POST /v2/engine-suggestions/{id}/applyPOST /v2/engine-suggestions/{id}/dismiss