Too many glossary terms

Moses SkodaEngineer1 min read

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

At most 2 terms per request, got 2. Split the batch into several requests.

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
receivedinteger

Example#

json
{
  "detail": "At most 2 terms per request, got 2. Split the batch into several requests.",
  "limit": 2,
  "received": 2,
  "type": "https://lingo.dev/docs/api/errors/glossary-terms-batch-too-large",
  "status": 422,
  "title": "Too many glossary terms"
}

Returned by#

  • POST /v2/glossaries/{glossaryId}/terms/create-many
  • POST /v2/glossaries/{glossaryId}/terms/delete-many
  • POST /v2/glossaries/{glossaryId}/terms/update-many