このプロバイダーではOAuthを利用できません

Moses Skodaエンジニア読了目安 1分

この問題が発生すると、APIは404 Not Foundを返します。typeはhttps://lingo.dev/docs/api/errors/connection-oauth-unavailableです。すべてのエラーに共通する構造については、エラーとステータスコードを参照してください。

ここではOAuthでGitHubに接続できません。

フィールド#

レスポンス本文には、標準のメンバーであるtype、status、title、detailに加え、以下のフィールドが含まれます。detailのテキストはこれらのフィールドから生成されるため、クライアント側で独自のテキストに置き換えて表示できます。

フィールド型
provider"github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend"

例#

json
{
  "detail": "GitHub cannot be connected through OAuth here.",
  "provider": "github",
  "type": "https://lingo.dev/docs/api/errors/connection-oauth-unavailable",
  "status": 404,
  "title": "OAuth not available for provider"
}