Human review routes overlap

Moses SkodaEngineer1 min read

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/human-edit-routes-conflict. See Errors and status codes for the shape every error shares.

Human review routes cover the same targets with neither narrower: <routes> and <routes> on <directory> for pt-BR. Split their locales or nest one list in the other.

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
conflictsobject[]
conflicts[].routesstring[]
conflicts[].directorystring | null
conflicts[].localestring

Example#

json
{
  "detail": "Human review routes cover the same targets with neither narrower: <routes> and <routes> on <directory> for pt-BR. Split their locales or nest one list in the other.",
  "conflicts": [
    {
      "routes": [
        "<routes>",
        "<routes>"
      ],
      "directory": "<directory>",
      "locale": "pt-BR"
    }
  ],
  "type": "https://lingo.dev/docs/api/errors/human-edit-routes-conflict",
  "status": 422,
  "title": "Human review routes overlap"
}

Returned by#

  • PATCH /v2/engines/{id}
  • POST /v2/organizations/{orgId}/engines
  • POST /v2/organizations/{orgId}/provisioning/jobs