GitHub repository unreadable
The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/github-repository-unreadable. See Errors and status codes for the shape every error shares.
Cannot import the history of <repository>. The GitHub App installation behind this connection cannot read it. Pick one of the connection's repositories, or 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.
| Field | Type |
|---|---|
repository | string |
Example#
json
{
"detail": "Cannot import the history of <repository>. The GitHub App installation behind this connection cannot read it. Pick one of the connection's repositories, or grant the App access to it on GitHub.",
"repository": "<repository>",
"type": "https://lingo.dev/docs/api/errors/github-repository-unreadable",
"status": 422,
"title": "GitHub repository unreadable"
}Returned by#
POST /v2/organizations/{orgId}/github/connections/{connectionId}/import-history