mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #8517] File Upload Error in Open WebUI v0.5.4 #15152
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 @j-amarall on GitHub (Jan 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8517
Installation Method
git clone, Docker
Environment
Open WebUI Version: v0.5.4
Ollama (if applicable): 0.5.4
Operating System: macOS
Browser (if applicable): Chrome
Confirmation:
Expected Behavior:
When uploading files into a chat, they should be processed successfully and their content made available for interaction without errors.
Actual Behavior:
Error messages are displayed during file uploads in the chat interface:
File 1: SB Servicestelle...
Error message: "The content provided is empty. Please ensure that there is text or data present before proceeding."
File 2: Stellv Leitung...
Error message: "Could not detect encoding for [file path]."
The files are valid .doc or pdf documents and work correctly in other environments.
Description
Screenshots/Screen Recordings (if applicable):
[Include relevant Docker container logs, if applicable]


@juananpe commented on GitHub (Jan 13, 2025):
The second error ("Could not detect encoding...") is coming from langchain. It uses chardet library to check the encodings and it seems that chardet is unable to detect a proper encoding for your file. Can you share the documents so we can replicate the issue?