[GH-ISSUE #13407] issue: 400: 'NoneType' object has no attribute 'encode' #120211

Closed
opened 2026-05-20 21:48:07 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @septarchy on GitHub (May 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13407

Check Existing Issues

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

Installation Method

Pip Install

Open WebUI Version

v0.6.5 (latest)

Ollama Version (if applicable)

0.6.6

Operating System

Windows 10

Browser (if applicable)

Version 135.0.7049.115

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

Uploading files to the workspace Knowledge tab should add the files to RAG.

Actual Behavior

Trying to use RAG but it keeps displaying error messages when adding files.

400: 'NoneType' object has no attribute 'encode'

Steps to Reproduce

Go to workspace
Navigate to Knowledge Tab
Press upload files
Select pdf's

Logs & Screenshots

Image

Image

Also tried:

U:>ollama pull all-minilm:l6-v2
pulling manifest
pulling 797b70c4edf8: 100% ▕██████████████████████████████████████████████████████████▏ 45 MB
pulling c71d239df917: 100% ▕██████████████████████████████████████████████████████████▏ 11 KB
pulling 85011998c600: 100% ▕██████████████████████████████████████████████████████████▏ 16 B
pulling 548455b72658: 100% ▕██████████████████████████████████████████████████████████▏ 407 B
verifying sha256 digest
writing manifest
success

Additional Information

Where should the sentence-transformers be installed? Maybe the domain is blocked locally?

Originally created by @septarchy on GitHub (May 1, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13407 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version v0.6.5 (latest) ### Ollama Version (if applicable) 0.6.6 ### Operating System Windows 10 ### Browser (if applicable) Version 135.0.7049.115 ### 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 Uploading files to the workspace Knowledge tab should add the files to RAG. ### Actual Behavior Trying to use RAG but it keeps displaying error messages when adding files. 400: 'NoneType' object has no attribute 'encode' ### Steps to Reproduce Go to workspace Navigate to Knowledge Tab Press upload files Select pdf's ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/5ce2d838-b5b0-431b-a950-6823568ea8be) ![Image](https://github.com/user-attachments/assets/ac98faf2-fe16-4751-a1fc-7ed25e4aadd7) Also tried: U:\>ollama pull all-minilm:l6-v2 pulling manifest pulling 797b70c4edf8: 100% ▕██████████████████████████████████████████████████████████▏ 45 MB pulling c71d239df917: 100% ▕██████████████████████████████████████████████████████████▏ 11 KB pulling 85011998c600: 100% ▕██████████████████████████████████████████████████████████▏ 16 B pulling 548455b72658: 100% ▕██████████████████████████████████████████████████████████▏ 407 B verifying sha256 digest writing manifest success ### Additional Information Where should the sentence-transformers be installed? Maybe the domain is blocked locally?
GiteaMirror added the bug label 2026-05-20 21:48:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#120211