Engine suggestion already decided

Moses SkodaEngineer1 min read

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.

FieldType
idstring
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}/apply
  • POST /v2/engine-suggestions/{id}/dismiss