Document not editable
What the StudioDocumentUnsupported error (422 Unprocessable Content) means, the fields it carries, and the endpoints that return it.
The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/studio-document-unsupported. See Errors and status codes for the shape every error shares.
Documents of GitHub cannot be opened in Studio yet.
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 |
|---|---|
provider | "github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" | "wordpress" |
document | object |
document.scopeKey | string |
document.type | string |
document.id | string |
locale | string |
reason | "provider" | "format" | "locale" | "unreadable" |
Example #
json
{
"detail": "Documents of GitHub cannot be opened in Studio yet.",
"provider": "github",
"document": {
"scopeKey": "<scopeKey>",
"type": "<type>",
"id": "<id>"
},
"locale": "pt-BR",
"reason": "provider",
"type": "https://lingo.dev/docs/api/errors/studio-document-unsupported",
"status": 422,
"title": "Document not editable"
}