複数のルートにまたがる判定プール
APIは、この問題を422 Unprocessable Contentで返します。typeはhttps://lingo.dev/docs/api/errors/human-edit-route-pool-repeatedです。すべてのエラーに共通する形式については、エラーとステータスコードを参照してください。
判定プール<pool>が複数のルートにまたがっています。このプールのすべてのロケールとディレクトリを、ひとつのルートにまとめてください。
フィールド#
レスポンス本文には、標準のtype、status、title、detailの各メンバーに加え、以下のフィールドが含まれます。detailのテキストはこれらのフィールドから生成されるため、クライアント側で独自のテキストに置き換えて表示できます。
| フィールド | 型 |
|---|---|
pool | string |
例#
json
{
"detail": "Decision pool <pool> is on more than one route. Put all its locales and directories on one route.",
"pool": "<pool>",
"type": "https://lingo.dev/docs/api/errors/human-edit-route-pool-repeated",
"status": 422,
"title": "Decision pool on several routes"
}このエラーを返すエンドポイント#
PATCH /v2/engines/{id}POST /v2/organizations/{orgId}/enginesPOST /v2/organizations/{orgId}/provisioning/jobs