ERR_URL_UNSUPPORTED_TYPE β URL File Type Not Supported
HTTP Status: 400 Retryable: No Automatic retry: None.
What the User Sees
A warning toast: βThis link points to a
- PowerPoint: use Gevell Slides (pptx.gevell.com), or export the deck as PDF.
- Older Office file: save it as .docx or PDF.
- Anything else: export or save it as a PDF.
What Causes This Error
utils/url-content-sniff.ts identifies the downloaded bytes by signature, never by header or extension. For ZIP-based files it reads the archiveβs central directory, so only real top-level members count (word/document.xml, ppt/presentation.xml, xl/workbook.xml). The file was none of the importable types.
details carries:
detectedType: the human labelextension: when knowndetectedKind: 'legacy-office': a stable code the client branches on for OLE files
The accepted-formats sentence comes from URL_IMPORT_ACCEPTED_FORMATS in @accessible-pdf/shared. Keep it in step with ALLOWED_EXTENSIONS.
Resolution Steps
For Users
- Convert the file to PDF or .docx, then upload it or link to it.
- For PowerPoint decks, use Gevell Slides.
For Administrators
- No admin action is needed.
- If a supported file is misidentified (for example an unusual MP4 audio brand), add a signature to
sniffContentwith a test.
Related Errors
- ERR_URL_WEB_PAGE: the link is a web page