[GH-ISSUE #14220] Files uploaded with API and added with Batch add request failes with FileModel validation #32714

Closed
opened 2026-04-25 06:35:42 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @lukasschachner on GitHub (May 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14220

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.10

Ollama Version (if applicable)

0.7.0

Operating System

Ubuntu 24.04

Browser (if applicable)

Chrome 136.0.7103.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

All files in batch add are added to the Knowledge without error message

Actual Behavior

The request failes with error message:
Input should be a valid dictionary or instance of FileMetadataResponse [type=model_type, input_value=FileModel(id='35237781-49..., updated_at=1747312432), input_type=FileModel]

Steps to Reproduce

  1. Upload files with api
  2. Add uploaded files in batch request via api

Logs & Screenshots

Input should be a valid dictionary or instance of FileMetadataResponse [type=model_type, input_value=FileModel(id='35237781-49..., updated_at=1747312432), input_type=FileModel]

Additional Information

No response

Originally created by @lukasschachner on GitHub (May 23, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/14220 ### 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.10 ### Ollama Version (if applicable) 0.7.0 ### Operating System Ubuntu 24.04 ### Browser (if applicable) Chrome 136.0.7103.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 All files in batch add are added to the Knowledge without error message ### Actual Behavior The request failes with error message: Input should be a valid dictionary or instance of FileMetadataResponse [type=model_type, input_value=FileModel(id='35237781-49..., updated_at=1747312432), input_type=FileModel] ### Steps to Reproduce 1. Upload files with api 2. Add uploaded files in batch request via api ### Logs & Screenshots Input should be a valid dictionary or instance of FileMetadataResponse [type=model_type, input_value=FileModel(id='35237781-49..., updated_at=1747312432), input_type=FileModel] ### Additional Information _No response_
GiteaMirror added the bugconfirmed issue labels 2026-04-25 06:35:42 -05:00
Author
Owner

@tjbck commented on GitHub (Dec 31, 2025):

@silentoplayz has this been resolved?

<!-- gh-comment-id:3702939935 --> @tjbck commented on GitHub (Dec 31, 2025): @silentoplayz has this been resolved?
Author
Owner

@silentoplayz commented on GitHub (Dec 31, 2025):

@silentoplayz has this been resolved?

Forgot to close! Closing. 😅

<!-- gh-comment-id:3702941020 --> @silentoplayz commented on GitHub (Dec 31, 2025): > [@silentoplayz](https://github.com/silentoplayz) has this been resolved? Forgot to close! Closing. 😅
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#32714