계정 접근 권한 없음
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"
}