[GH-ISSUE #13621] issue: saving prompts responds with 400 - something went wrong #32502

Closed
opened 2026-04-25 06:25:48 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Taxel on GitHub (May 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13621

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

Ollama Version (if applicable)

No response

Operating System

Ubuntu 24.04

Browser (if applicable)

Chrome

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

When I save a prompt, it is saved.

Actual Behavior

A toast message "something went wrong :/" appears, no prompt is saved.

Steps to Reproduce

  1. go to workspace
  2. got to prompts
  3. click plus icon
  4. fill in fields
  5. click save
    -> Error message instead of saving the prompt

Logs & Screenshots

Browser request:

Request body:
access_control: {}
command: "/this-is-a-prompt"
content: "Tell me about {{topic}}"
title: "This is a prompt"

Response:

{"detail":"Something went wrong :/"}

On the server:

2025-05-07T10:38:47.315321039+02:00 2025-05-07 08:38:47.314 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.40.0.0:0 - "POST /api/v1/prompts/create HTTP/1.1" 400 - {}

nothing else, although GLOBAL_LOG_LEVEL is DEBUG

Additional Information

This worked in a previous version but seems to be broken in (at least) 0.6.6 and 0.6.7.
Because of the generic error message I can only infer that this line is where the error appears, but I can't say why.

The issue appears with my admin user as well as the other users, logged in via Azure AD

Originally created by @Taxel on GitHub (May 7, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13621 ### 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.7 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 24.04 ### Browser (if applicable) Chrome ### 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 When I save a prompt, it is saved. ### Actual Behavior A toast message "something went wrong :/" appears, no prompt is saved. ### Steps to Reproduce 1. go to workspace 2. got to prompts 3. click plus icon 4. fill in fields 5. click save -> Error message instead of saving the prompt ### Logs & Screenshots Browser request: ``` Request body: access_control: {} command: "/this-is-a-prompt" content: "Tell me about {{topic}}" title: "This is a prompt" ``` Response: ``` {"detail":"Something went wrong :/"} ``` On the server: ``` 2025-05-07T10:38:47.315321039+02:00 2025-05-07 08:38:47.314 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.40.0.0:0 - "POST /api/v1/prompts/create HTTP/1.1" 400 - {} ``` nothing else, although GLOBAL_LOG_LEVEL is DEBUG ### Additional Information This worked in a previous version but seems to be broken in (at least) 0.6.6 and 0.6.7. Because of the generic error message I can only infer that [this line](https://github.com/open-webui/open-webui/blob/a3bb7df61058e690a76cebb7681bd5390e77d226/backend/open_webui/routers/prompts.py#L60) is where the error appears, but I can't say why. The issue appears with my admin user as well as the other users, logged in via Azure AD
GiteaMirror added the bug label 2026-04-25 06:25:48 -05:00
Author
Owner

@Taxel commented on GitHub (May 7, 2025):

Chat was also broken because the disk was full.
I expanded the volume, now it's all working again.

<!-- gh-comment-id:2857773490 --> @Taxel commented on GitHub (May 7, 2025): Chat was also broken because the disk was full. I expanded the volume, now it's all working again.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#32502