No preview can be made of this document
preview-not-possible
| Type URI | https://docs.panquest.com/qfx/problems/preview-not-possible |
|---|---|
| Status | 422 Unprocessable Content |
| Title | No preview can be made of this document |
| Members of its own | none beyond the common members |
When
The document cannot be previewed: its format is not one previews are made of, it is larger than the deployment makes previews of, it is empty or cannot be decoded, or this deployment has no renderer for its kind. The detail says which.
What to do
Show the generic icon for the document instead. Sent again unchanged, the request gets the same answer, unless the deployment gains a renderer for the document's format.
Example
HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json
Content-Language: en
{
"type": "https://docs.panquest.com/qfx/problems/preview-not-possible",
"title": "No preview can be made of this document",
"status": 422,
"detail": "Documents of type text/plain cannot be previewed",
"instance": "urn:uuid:3f1c2a0e-7d4b-4c55-9a2e-5b8f0c1d2e3f"
}