Estimate too large

Moses SkodaEngineer1 min read

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/estimate-too-large. See Errors and status codes for the shape every error shares.

An estimate supports at most 2 bytes of input. Split the request into smaller estimates.

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
limitinteger
measure"bytes" | "sourceUnits" | "pendingTranslations"

Example#

json
{
  "detail": "An estimate supports at most 2 bytes of input. Split the request into smaller estimates.",
  "limit": 2,
  "measure": "bytes",
  "type": "https://lingo.dev/docs/api/errors/estimate-too-large",
  "status": 422,
  "title": "Estimate too large"
}

Returned by#

  • POST /v2/organizations/{orgId}/localization/estimates