계정 접근 권한 없음
이 문제가 발생하면 API는 422 Unprocessable Content 응답을 반환합니다. 응답의 type 값은 https://lingo.dev/docs/api/errors/connection-oauth-account-not-granted입니다. 모든 오류에 공통으로 적용되는 구조는 오류 및 상태 코드를 참고하세요.
승인을 진행한 GitHub 사용자가 해당 GitHub 계정에 접근할 수 없어 아무것도 연결되지 않았습니다. 해당 계정에 접근할 수 있는 GitHub 사용자로 승인을 진행하세요.
필드#
응답 본문에는 표준 멤버인 type, status, title, detail 외에 다음 필드가 포함됩니다. detail 텍스트는 이 필드들을 바탕으로 생성되므로 클라이언트에서 자체 문구로 대체해 표시할 수 있습니다.
| 필드 | 유형 |
|---|---|
provider | "github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" |
account | string |
예시#
json
{
"detail": "The GitHub user who authorized cannot access that GitHub account, so nothing was connected. Authorize as a GitHub user who can.",
"provider": "github",
"account": "<account>",
"type": "https://lingo.dev/docs/api/errors/connection-oauth-account-not-granted",
"status": 422,
"title": "Account not granted"
}