Draft changed
What the StudioDraftConflict error (409 Conflict) means, the fields it carries, and the endpoints that return it.
The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/studio-draft-conflict. See Errors and status codes for the shape every error shares.
This draft was saved elsewhere and is now at version 2. Read it again and reapply your edits.
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 |
|---|---|
version | integer |
Example #
json
{
"detail": "This draft was saved elsewhere and is now at version 2. Read it again and reapply your edits.",
"version": 2,
"type": "https://lingo.dev/docs/api/errors/studio-draft-conflict",
"status": 409,
"title": "Draft changed"
}