mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #20662] feat: Display error message when trying to upload a non-supported file format #57920
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lorenzophys on GitHub (Jan 14, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20662
Check Existing Issues
Verify Feature Scope
Problem Description
We noticed that when a user tries to upload a non-supported file format, OpenWebUI fails silently: nothing is being uploaded, but no error message is displayed in the UI. The only message the user receives is an alert about the violation of the CSP, buried into the JS console in the dev tools.
Desired Solution you'd like
It would be nice to have a red alert on the top right corner similar to the one that appears in other situations (eg, 401 unauthorized in the login page)
Alternatives Considered
No response
Additional Context
No response
@lorenzophys commented on GitHub (Jan 19, 2026):
PR: https://github.com/open-webui/open-webui/pull/20788