다른 계정의 인증 정보

Moses Skoda엔지니어1분 소요

API는 이 문제가 발생하면 422 Unprocessable Content 응답을 반환합니다. 이 오류의 type 값은 https://lingo.dev/docs/api/errors/connection-account-mismatch입니다. 모든 오류에 공통으로 적용되는 구조는 오류 및 상태 코드를 참고하세요.

새 인증 정보로 접근하는 GitHub 계정이 연결 <id>의 계정과 다릅니다. 같은 계정의 인증 정보를 사용하거나, 다른 계정에 사용할 새 연결을 만드세요.

필드#

본문에는 표준 멤버인 type, status, title, detail 외에 다음 필드가 포함됩니다. detail 텍스트는 이 필드들을 바탕으로 생성되므로, 클라이언트에서 자체 문구로 바꿔 표시할 수 있습니다.

필드유형
idstring
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"
}