Human review route pattern invalid

Moses SkodaEngineer1 min read

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

"<pattern>" on the route to <pool> is not a directory. Use literal segments such as docs/legal or docs/legal/**.

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
poolstring
patternstring

Example#

json
{
  "detail": "\"<pattern>\" on the route to <pool> is not a directory. Use literal segments such as docs/legal or docs/legal/**.",
  "pool": "<pool>",
  "pattern": "<pattern>",
  "type": "https://lingo.dev/docs/api/errors/human-edit-route-pattern-invalid",
  "status": 422,
  "title": "Human review route pattern invalid"
}

Returned by#

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