Glossary terms taken
The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/glossary-terms-taken. See Errors and status codes for the shape every error shares.
Cannot save "<texts>". This glossary already holds a term with that text and locale. Edit that term instead, or change the text.
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 |
|---|---|
texts | string[] |
Example#
json
{
"detail": "Cannot save \"<texts>\". This glossary already holds a term with that text and locale. Edit that term instead, or change the text.",
"texts": [
"<texts>"
],
"type": "https://lingo.dev/docs/api/errors/glossary-terms-taken",
"status": 409,
"title": "Glossary terms taken"
}Returned by#
PATCH /v2/glossaries/{glossaryId}/terms/{id}POST /v2/glossaries/{glossaryId}/termsPOST /v2/glossaries/{glossaryId}/terms/create-many