Localization job source too large

What the LocalizationJobSourceTooLarge 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-job-source-too-large. See Errors and status codes for the shape every error shares.

The job's current source files total 10000001 bytes, over the 10000000-byte source limit. Previous sources and translations do not count toward this limit. Split the job into smaller jobs.

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.

FieldType
bytesinteger
maxBytesinteger

Example #

json
{
  "detail": "The job's current source files total 10000001 bytes, over the 10000000-byte source limit. Previous sources and translations do not count toward this limit. Split the job into smaller jobs.",
  "bytes": 10000001,
  "maxBytes": 10000000,
  "type": "https://lingo.dev/docs/api/errors/localization-job-source-too-large",
  "status": 422,
  "title": "Localization job source too large"
}

Returned by #

  • POST /v2/localization/jobs/{id}/start
  • POST /v2/organizations/{orgId}/localization/estimates
  • POST /v2/organizations/{orgId}/localization/jobs