[GH-ISSUE #12256] issue: Failed to upload file in the knowledge base #32053

Closed
opened 2026-04-25 05:56:30 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @lijincheng2018 on GitHub (Apr 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12256

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6

Ollama Version (if applicable)

No response

Operating System

OpenCloudOS 9

Browser (if applicable)

Chrome 133

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

Normal upload successful

Actual Behavior

When I upload a file(I tried many types include pdf, docx, etc.), there is a alert that notice me "400: 'NoneType' object is not iterable"

Steps to Reproduce

  1. Go to the workspace
  2. Enter my knowledge base
  3. upload a file

Logs & Screenshots

Image

Additional Information

No response

Originally created by @lijincheng2018 on GitHub (Apr 1, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12256 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6 ### Ollama Version (if applicable) _No response_ ### Operating System OpenCloudOS 9 ### Browser (if applicable) Chrome 133 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior Normal upload successful ### Actual Behavior When I upload a file(I tried many types include pdf, docx, etc.), there is a alert that notice me "400: 'NoneType' object is not iterable" ### Steps to Reproduce 1. Go to the workspace 2. Enter my knowledge base 3. upload a file ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/f68d5212-24b7-4e0f-8175-b383ee9bd50a) ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 05:56:30 -05:00
Author
Owner

@tjbck commented on GitHub (Apr 1, 2025):

Please check for existing discussions and issues. This is caused by misconfigured embedding model.

<!-- gh-comment-id:2768023192 --> @tjbck commented on GitHub (Apr 1, 2025): Please check for existing discussions and issues. This is caused by misconfigured embedding model.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#32053