別のアカウントの認証情報
API は 422 Unprocessable Content の場合にこの問題を返します。この問題の type は https://lingo.dev/docs/api/errors/connection-account-mismatch です。すべてのエラーに共通する形式については、エラーとステータスコードをご覧ください。
新しい認証情報でアクセスする GitHub アカウントは、接続 <id> に関連付けられたアカウントとは異なります。同じアカウントの認証情報を使用するか、もう一方のアカウント用に新しい接続を作成してください。
フィールド#
本文には、標準の type、status、title、detail メンバーに加えて、以下のフィールドが含まれます。detail のテキストはこれらのフィールドから生成されるため、クライアント側で代わりに独自のテキストを表示できます。
| フィールド | 型 |
|---|---|
id | string |
provider | "github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" |
例#
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"
}