早期アクセス中の機能

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

このエラーが発生すると、APIは403 Forbiddenを返します。typeはhttps://lingo.dev/docs/api/errors/feature-flag-requiredです。すべてのエラーに共通する形式については、エラーとステータスコードを参照してください。

組織<organizationId>では<flag>を利用できません。この機能は、早期アクセスの対象組織にのみ公開されています。この機能を要求するオプションを省くか、Lingo.devのサポートに、この組織で<flag>を有効にするよう依頼してください。

フィールド#

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

フィールド型
organizationIdstring
flagstring

例#

json
{
  "detail": "Organization <organizationId> cannot use <flag>: it is open only to organizations in its early-access rollout. Leave out the option that asks for it, or ask Lingo.dev support to enable <flag> for this organization.",
  "organizationId": "<organizationId>",
  "flag": "<flag>",
  "type": "https://lingo.dev/docs/api/errors/feature-flag-required",
  "status": 403,
  "title": "Feature in early access"
}

このエラーを返すエンドポイント#

  • POST /v2/organizations/{orgId}/localization/jobs