이미 연결되어 있습니다
이 문제가 발생하면 API는 409 Conflict로 응답합니다. 이 오류의 type는 https://lingo.dev/docs/api/errors/connection-already-exists입니다. 모든 오류에 공통으로 적용되는 구조는 오류 및 상태 코드를 참고하세요.
<account>는 다른 조직에 연결되어 있습니다. GitHub 계정은 하나의 조직에만 속할 수 있으므로, 먼저 해당 조직에서 연결을 해제하세요.
필드#
응답 본문에는 표준 멤버인 type, status, title, detail 외에도 다음 필드가 포함됩니다. detail 문구는 이 필드를 바탕으로 생성되므로, 클라이언트에서 자체 문구로 대체해 표시할 수 있습니다.
| 필드 | 유형 |
|---|---|
provider | "github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" |
account | string |
elsewhere | boolean |
예시#
json
{
"detail": "<account> is connected to another organization, and a GitHub account can belong to one organization only. Disconnect it there first.",
"provider": "github",
"account": "<account>",
"elsewhere": true,
"type": "https://lingo.dev/docs/api/errors/connection-already-exists",
"status": 409,
"title": "Connection already exists"
}