GitHub connection not found
The API answers 404 Not Found with this problem. Its type is https://lingo.dev/docs/api/errors/github-connection-not-found. See Errors and status codes for the shape every error shares.
Cannot find GitHub connection <id> in this organization. It does not exist, belongs to another organization, or is not a GitHub App connection. Check the id against this organization's integrations.
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 |
|---|---|
id | string |
Example#
json
{
"detail": "Cannot find GitHub connection <id> in this organization. It does not exist, belongs to another organization, or is not a GitHub App connection. Check the id against this organization's integrations.",
"id": "<id>",
"type": "https://lingo.dev/docs/api/errors/github-connection-not-found",
"status": 404,
"title": "GitHub connection not found"
}Returned by#
POST /v2/organizations/{orgId}/github/connections/{connectionId}/import-history