Document not found
What the StudioDocumentNotFound error (404 Not Found) means, the fields it carries, and the endpoints that return it.
The API answers 404 Not Found with this problem. Its type is https://lingo.dev/docs/api/errors/studio-document-not-found. See Errors and status codes for the shape every error shares.
<type> / <id> is not in the content Lingo.dev translates for this connection.
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 |
|---|---|
connectionId | string |
document | object |
document.scopeKey | string |
document.type | string |
document.id | string |
Example #
json
{
"detail": "<type> / <id> is not in the content Lingo.dev translates for this connection.",
"connectionId": "<connectionId>",
"document": {
"scopeKey": "<scopeKey>",
"type": "<type>",
"id": "<id>"
},
"type": "https://lingo.dev/docs/api/errors/studio-document-not-found",
"status": 404,
"title": "Document not found"
}