[GH-ISSUE #21594] issue: Can’t import prompts on v0.8.3 — import fails with red toast “[object Object]” #74132

Closed
opened 2026-05-13 06:49:05 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @Seviks on GitHub (Feb 19, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21594

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.8.3

Ollama Version (if applicable)

No response

Operating System

Windows 11, WSL

Browser (if applicable)

Firefox 147 and Edge 145

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

Previously exported prompts (with v0.8.3) can be imported again (or on another machine withe same version).
-> Prompts are imported successfully and appears in the prompts list.

Actual Behavior

  • Import fails and a red toast error appears showing:
    • "[object Object]"
  • No relevant error appears in the container logs.

Steps to Reproduce

  1. Pull latest image (0.8.3):
    docker pull ghcr.io/open-webui/open-webui:main
    
  2. Run default container:
    docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main
    
  3. Register a user, log in, and create an example prompt.
  4. Export the example prompt (JSON).
  5. Delete the example prompt.
  6. Import the previously exported prompt (JSON).

Logs & Screenshots

Browser Log:

XHR POST http://localhost:3000/api/v1/prompts/create [HTTP/1.1 422 Unprocessable Entity 5ms]

Response Headers:
HTTP/1.1 422 Unprocessable Entity
date: Thu, 19 Feb 2026 09:04:14 GMT
server: uvicorn
content-length: 120
content-type: application/json
x-process-time: 0
access-control-allow-origin: http://localhost:3000
access-control-allow-credentials: true
vary: Origin

Request Headers:
POST /api/v1/prompts/create HTTP/1.1
Host: localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0
Accept: application/json
Accept-Language: de-CH,en-US;q=0.9,en;q=0.8
Accept-Encoding: gzip, deflate, br, zstd
Referer: http://localhost:3000/workspace/prompts
Content-Type: application/json
authorization: Bearer [XXX]
Content-Length: 35
Origin: http://localhost:3000
Sec-GPC: 1
Connection: keep-alive
Cookie: token=[XXX]
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Priority: u=4

Uncaught TypeError: HTMLInputElement.files setter: Value being assigned does not implement interface FileList.
    x input.js:310
    vr runtime.js:297
    Je runtime.js:477
    Vt batch.js:241
    process batch.js:178
    Yt batch.js:622
    flush batch.js:314
    ensure batch.js:502
    Sn utils.js:45
    qn task.js:10
    vt task.js:28
[input.js:310:17](http://localhost:3000/node_modules/svelte/src/internal/client/dom/elements/bindings/input.js)
    x input.js:310
    vr runtime.js:297
    Je runtime.js:477
    Vt batch.js:241
    process batch.js:178
    Yt batch.js:622
    flush batch.js:314
    ensure batch.js:502
    Sn utils.js:45
    qn task.js:10
    vt task.js:28

Docker log (no error)

2026-02-19 09:52:07.825 | 2026-02-19 08:52:07.825 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "POST /api/v1/prompts/create HTTP/1.1" 422
2026-02-19 09:52:07.846 | 2026-02-19 08:52:07.845 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "GET /api/v1/prompts/list?page=1 HTTP/1.1" 200
2026-02-19 09:52:07.849 | 2026-02-19 08:52:07.849 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "GET /api/v1/prompts/ HTTP/1.1" 200
2026-02-19 09:52:07.860 | 2026-02-19 08:52:07.860 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "GET /api/v1/prompts/tags HTTP/1.1" 200
2026-02-19 09:52:12.174 | 2026-02-19 08:52:12.174 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "GET /_app/version.json HTTP/1.1" 200

Additional Information

Maybe regression from https://github.com/open-webui/open-webui/pull/20945 ?

Originally created by @Seviks on GitHub (Feb 19, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/21594 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.8.3 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11, WSL ### Browser (if applicable) Firefox 147 and Edge 145 ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] 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). - [x] 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 Previously exported prompts (with v0.8.3) can be imported again (or on another machine withe same version). -> Prompts are imported successfully and appears in the prompts list. ### Actual Behavior - Import fails and a red toast error appears showing: - `"[object Object]"` - No relevant error appears in the container logs. ### Steps to Reproduce 1. Pull latest image (0.8.3): ```bash docker pull ghcr.io/open-webui/open-webui:main ``` 2. Run default container: ```bash docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main ``` 3. Register a user, log in, and create an example prompt. 4. Export the example prompt (JSON). 5. Delete the example prompt. 6. Import the previously exported prompt (JSON). ### Logs & Screenshots Browser Log: ``` XHR POST http://localhost:3000/api/v1/prompts/create [HTTP/1.1 422 Unprocessable Entity 5ms] Response Headers: HTTP/1.1 422 Unprocessable Entity date: Thu, 19 Feb 2026 09:04:14 GMT server: uvicorn content-length: 120 content-type: application/json x-process-time: 0 access-control-allow-origin: http://localhost:3000 access-control-allow-credentials: true vary: Origin Request Headers: POST /api/v1/prompts/create HTTP/1.1 Host: localhost:3000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0 Accept: application/json Accept-Language: de-CH,en-US;q=0.9,en;q=0.8 Accept-Encoding: gzip, deflate, br, zstd Referer: http://localhost:3000/workspace/prompts Content-Type: application/json authorization: Bearer [XXX] Content-Length: 35 Origin: http://localhost:3000 Sec-GPC: 1 Connection: keep-alive Cookie: token=[XXX] Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-origin Priority: u=4 Uncaught TypeError: HTMLInputElement.files setter: Value being assigned does not implement interface FileList. x input.js:310 vr runtime.js:297 Je runtime.js:477 Vt batch.js:241 process batch.js:178 Yt batch.js:622 flush batch.js:314 ensure batch.js:502 Sn utils.js:45 qn task.js:10 vt task.js:28 [input.js:310:17](http://localhost:3000/node_modules/svelte/src/internal/client/dom/elements/bindings/input.js) x input.js:310 vr runtime.js:297 Je runtime.js:477 Vt batch.js:241 process batch.js:178 Yt batch.js:622 flush batch.js:314 ensure batch.js:502 Sn utils.js:45 qn task.js:10 vt task.js:28 ``` Docker log (no error) ``` 2026-02-19 09:52:07.825 | 2026-02-19 08:52:07.825 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "POST /api/v1/prompts/create HTTP/1.1" 422 2026-02-19 09:52:07.846 | 2026-02-19 08:52:07.845 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "GET /api/v1/prompts/list?page=1 HTTP/1.1" 200 2026-02-19 09:52:07.849 | 2026-02-19 08:52:07.849 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "GET /api/v1/prompts/ HTTP/1.1" 200 2026-02-19 09:52:07.860 | 2026-02-19 08:52:07.860 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "GET /api/v1/prompts/tags HTTP/1.1" 200 2026-02-19 09:52:12.174 | 2026-02-19 08:52:12.174 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.19.0.1:0 - "GET /_app/version.json HTTP/1.1" 200 ``` ### Additional Information Maybe regression from https://github.com/open-webui/open-webui/pull/20945 ?
GiteaMirror added the bug label 2026-05-13 06:49:05 -05:00
Author
Owner

@tjbck commented on GitHub (Feb 22, 2026):

Addressed in dev.

<!-- gh-comment-id:3941756682 --> @tjbck commented on GitHub (Feb 22, 2026): Addressed in dev.
Author
Owner

@Seviks commented on GitHub (Feb 23, 2026):

Can confirm it's working. Thanks!

<!-- gh-comment-id:3943086582 --> @Seviks commented on GitHub (Feb 23, 2026): Can confirm it's working. Thanks!
Author
Owner

@Seviks commented on GitHub (Feb 24, 2026):

Unfortunately tags are not imported. Should I open a new issue? Repro is same as above, but includes adding a tag and verifying its there (hit enter in tag text).

<!-- gh-comment-id:3951785740 --> @Seviks commented on GitHub (Feb 24, 2026): Unfortunately tags are not imported. Should I open a new issue? Repro is same as above, but includes adding a tag and verifying its there (hit enter in tag text).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#74132