GitHub repository not found

What the GithubRepositoryInaccessible error (404 Not Found) means, the fields it carries, and the endpoints that return it.

The API answers 404 Not Found with this problem. Its type is https://lingo.dev/docs/api/errors/github-repository-inaccessible. See Errors and status codes for the shape every error shares.

The GitHub App installation behind connection <id> cannot read repository 2. Grant the App access to it on GitHub.

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
repositoryIdinteger

Example #

json
{
  "detail": "The GitHub App installation behind connection <id> cannot read repository 2. Grant the App access to it on GitHub.",
  "id": "<id>",
  "repositoryId": 2,
  "type": "https://lingo.dev/docs/api/errors/github-repository-inaccessible",
  "status": 404,
  "title": "GitHub repository not found"
}