Localization artifact too large
What the LocalizationArtifactTooLarge error (422 Unprocessable Content) means, the fields it carries, and the endpoints that return it.
The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/localization-artifact-too-large. See Errors and status codes for the shape every error shares.
Artifact 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 is 2500001 bytes, over the 2500000-byte artifact limit. Split the file into smaller files.
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 |
|---|---|
address | string |
bytes | integer |
maxBytes | integer |
Example #
json
{
"detail": "Artifact 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 is 2500001 bytes, over the 2500000-byte artifact limit. Split the file into smaller files.",
"address": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"bytes": 2500001,
"maxBytes": 2500000,
"type": "https://lingo.dev/docs/api/errors/localization-artifact-too-large",
"status": 422,
"title": "Localization artifact too large"
}Returned by #
POST /v2/localization/jobs/{id}/startPOST /v2/organizations/{orgId}/localization/estimatesPOST /v2/organizations/{orgId}/localization/jobs