Model chain rank repeated
The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/model-chain-rank-repeated. See Errors and status codes for the shape every error shares.
The <sourceLocale>→<targetLocale> model chain uses rank 2 more than once. Give each model config in a chain its own rank.
Fields#
Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.
| Field | Type |
|---|---|
sourceLocale | string |
targetLocale | string |
rank | integer |
Example#
json
{
"detail": "The <sourceLocale>→<targetLocale> model chain uses rank 2 more than once. Give each model config in a chain its own rank.",
"sourceLocale": "<sourceLocale>",
"targetLocale": "<targetLocale>",
"rank": 2,
"type": "https://lingo.dev/docs/api/errors/model-chain-rank-repeated",
"status": 422,
"title": "Model chain rank repeated"
}Returned by#
POST /v2/organizations/{orgId}/enginesPOST /v2/organizations/{orgId}/provisioning/jobs