Translation configuration unusable

What the GithubLingoConfigUnusable error (422 Unprocessable Content) means, the fields it carries, and the endpoints that return it.

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

<repository> has no .lingo/config.json on its default branch, so it names no translation files. Commit one to edit translations here.

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
repositorystring
problem"missing" | "invalid"

Example #

json
{
  "detail": "<repository> has no .lingo/config.json on its default branch, so it names no translation files. Commit one to edit translations here.",
  "repository": "<repository>",
  "problem": "missing",
  "type": "https://lingo.dev/docs/api/errors/github-lingo-config-unusable",
  "status": 422,
  "title": "Translation configuration unusable"
}