Credential for another account
The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/connection-account-mismatch. See Errors and status codes for the shape every error shares.
The new credential reaches a different GitHub account than connection <id>. Use a credential for the same account, or create a new connection for the other one.
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 |
provider | "github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" |
Example#
json
{
"detail": "The new credential reaches a different GitHub account than connection <id>. Use a credential for the same account, or create a new connection for the other one.",
"id": "<id>",
"provider": "github",
"type": "https://lingo.dev/docs/api/errors/connection-account-mismatch",
"status": 422,
"title": "Credential for another account"
}