該当する測定がありません
NoMeasurementsMatch エラー(422 処理できないコンテンツ)の意味、含まれるフィールド、このエラーを返すエンドポイントについて説明します。
この問題が発生すると、API は 422 Unprocessable Content を返します。その type は https://lingo.dev/docs/api/errors/no-measurements-match です。すべてのエラーに共通する構造については、エラーとステータスコードをご覧ください。
選択したカスタム測定はどれも、<sourceLocale>を翻訳元とする今回のチェックの翻訳先ロケールに対応していないため、実行される測定がありません。対象のロケールで利用できる測定を選択するか、対象のロケールを条件に含むカスタム測定を作成してください。
フィールド #
本文には、標準の type、status、title、detail メンバーに加えて、以下のフィールドが含まれます。detail のテキストはこれらのフィールドをもとに生成されるため、クライアント側で独自のテキストに置き換えて表示できます。
| フィールド | 型 |
|---|---|
sourceLocale | string |
例 #
JSON
{
"detail": "No chosen custom measurement covers a target locale of this check from <sourceLocale>, so it would run nothing. Choose measurements offered for these locales, or create a custom measurement whose conditions cover them.",
"sourceLocale": "<sourceLocale>",
"type": "https://lingo.dev/docs/api/errors/no-measurements-match",
"status": 422,
"title": "No measurements match"
}