Skip to content

[Bug]: OpenDocument (ODF) files rejected with "Unsupported file type" in v0.8.3-rc1 (regression from v0.8.0)Β #11952

@biface

Description

@biface

What happened?

Description

Since upgrading from v0.8.0 to v0.8.3-rc1, uploading LibreOffice / OpenDocument files
(.ods, .odt, .odp) fails with the following error:

ErrorController => error Unsupported file type: application/vnd.oasis.opendocument.spreadsheet

These files uploaded successfully in v0.8.0 (processed via fallback text parsing).

Additional Notes

  • Confirmed on .odt and .ods; .odp not tested but likely affected given the same ErrorController rejection pattern.
  • No related issues found in open or closed issues
  • No errors in server startup logs; error only appears at upload time
  • Workaround: users must convert ODF files to .docx or .pdf before uploading
  • This appears to be a regression introduced between v0.8.0 and v0.8.3-rc1,
    possibly related to the native text parser work introduced in config v1.3.0

Version Information

Environment

Field Value
LibreChat version v0.8.3-rc1
Config version v1.3.4
Previous working version v0.8.0 (config v1.3.0)
Deployment Docker Compose
$ docker images | grep librechat

ghcr.io/danny-avila/librechat-dev                latest              4e1f401e0e74   4 days ago      1.77GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite   latest              3d3178a04e1b   8 weeks ago     1.69GB

Configuration

fileConfig:
  endpoints:
    default:
      supportedMimeTypes:
        - "text/.*"
        - "application/.*"
        - "image/.*"

Even with the broad application/.* wildcard, the error persists.
The rejection appears to be hardcoded in ErrorController, not driven by config.

Steps to Reproduce

  1. Deploy LibreChat v0.8.3-rc1 with config v1.3.4
  2. Include ODF MIME types in fileConfig.endpoints.default.supportedMimeTypes:
    - "application/vnd.oasis.opendocument.text"
    - "application/vnd.oasis.opendocument.spreadsheet"
    - "application/vnd.oasis.opendocument.presentation"
  3. Attempt to upload a .ods, .odt, or .odp file in the chat interface
  4. Error is returned immediately

What browsers are you seeing the problem on?

Firefox

Relevant log output

Expected Behavior

ODF files should be accepted and processed via fallback text parsing,
as they were in v0.8.0.

Actual Behavior

Upload is rejected by ErrorController with: unsupported file type: application/vnd.oasis.opendocument.spreadsheet or unsupported file type: application/vnd.oasis.opendocument.text

The rejection occurs at the controller level regardless of supportedMimeTypes configuration.

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions