Request body too large

Moses SkodaEngineer1 min read

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

The request body must be at most 2 bytes. Send less in each request, splitting the work across several if needed.

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
maxBytesinteger

Example#

json
{
  "detail": "The request body must be at most 2 bytes. Send less in each request, splitting the work across several if needed.",
  "maxBytes": 2,
  "type": "https://lingo.dev/docs/api/errors/request-body-too-large",
  "status": 413,
  "title": "Request body too large"
}

Returned by#

  • POST /v2/organizations/{orgId}/localization/estimates
  • PUT /v2/localization/jobs/{id}/artifacts/{address}
  • PUT /v2/organizations/{orgId}/localization/artifacts/{address}