[GH-ISSUE #20662] feat: Display error message when trying to upload a non-supported file format #34783

Closed
opened 2026-04-25 08:57:57 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @lorenzophys on GitHub (Jan 14, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20662

Check Existing Issues

  • I have searched for all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Verify Feature Scope

  • I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions.

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.

Image

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

Originally created by @lorenzophys on GitHub (Jan 14, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/20662 ### Check Existing Issues - [x] I have searched for all existing **open AND closed** issues and discussions for similar requests. I have found none that is comparable to my request. ### Verify Feature Scope - [x] I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions. ### 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. <img width="1174" height="486" alt="Image" src="https://github.com/user-attachments/assets/02431e9f-7f81-4781-89cd-20c06f84bc87" /> ### 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_
Author
Owner

@lorenzophys commented on GitHub (Jan 19, 2026):

PR: https://github.com/open-webui/open-webui/pull/20788

<!-- gh-comment-id:3767150282 --> @lorenzophys commented on GitHub (Jan 19, 2026): PR: https://github.com/open-webui/open-webui/pull/20788
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#34783