Translation changed

What the GithubTranslationConflict 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/github-translation-conflict. See Errors and status codes for the shape every error shares.

The pt-BR translation of <path> changed on the default branch since it was read, at <key>. Read the file again and repeat these edits.

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
pathstring
localestring
keysstring[]

Example #

json
{
  "detail": "The pt-BR translation of <path> changed on the default branch since it was read, at <key>. Read the file again and repeat these edits.",
  "path": "<path>",
  "locale": "pt-BR",
  "keys": [
    "<key>"
  ],
  "type": "https://lingo.dev/docs/api/errors/github-translation-conflict",
  "status": 409,
  "title": "Translation changed"
}