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.

FieldType
provider"github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" | "wordpress"
documentobject
document.scopeKeystring
document.typestring
document.idstring
localestring
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"
}