Skip to content

issue: File Upload ignored when users drag files into prompt #15651

Open
@karlettoh

Description

@karlettoh

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

0.6.15

Ollama Version (if applicable)

No response

Operating System

Debian 12.11

Browser (if applicable)

No response

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Our "private" model doesn't allow file uploads.
When I try to upload a file, it should not allow me.
When I drag a file into the browser window, it should refuse to upload.

Actual Behavior

When I drag a file into the browser, it uploads the file into the prompt, ignoring file upload.

Steps to Reproduce

The model we use with uploads disabled, when a user hovers over it, we see that it cannot be clicked - great.

Image

When the same user finds a file, and drags and drops it, they can upload it successfully.

Image

Logs & Screenshots

Logs:
2025-07-11 14:52:16.182 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /api/models HTTP/1.1" 200 - {}
2025-07-11 14:52:20.179 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /_app/version.json HTTP/1.1" 200 - {}
2025-07-11 14:52:35.434 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /api/v1/chats/96b06c0c-1745-4580-90b2-dc585a0e0cbc HTTP/1.1" 200 - {}
2025-07-11 14:52:41.727 | INFO | open_webui.routers.files:upload_file:94 - file.content_type: application/json - {}
2025-07-11 14:52:44.229 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:1125 - save_docs_to_vector_db: document Data_Analysis.json file-6ea71dbd-c1ee-4ff5-bf07-1a5fd06acbf4 - {}
2025-07-11 14:52:44.703 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:1208 - adding to collection file-6ea71dbd-c1ee-4ff5-bf07-1a5fd06acbf4 - {}
2025-07-11 14:52:48.871 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /_app/version.json HTTP/1.1" 200 - {}
2025-07-11 14:52:48.872 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /_app/version.json HTTP/1.1" 200 - {}
2025-07-11 14:52:54.693 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "POST /api/v1/files/ HTTP/1.1" 200 - {}

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions