[GH-ISSUE #19414] issue: Save button becomes unresponsive when adding a JSON-formatted custom header with syntax errors (dev branch only) #57533

Closed
opened 2026-05-05 21:03:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ctolon on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19414

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

Git Clone

Open WebUI Version

dev

Ollama Version (if applicable)

No response

Operating System

CachyOS

Browser (if applicable)

Firefox 144.0

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

Save button should be not stuck when malformed JSON inputs for MCP Custom headers.

Actual Behavior

I cloned dev branch for testing JSON based Custom MCP Headers feature then i discovered this bugged.

When testing the JSON-based Custom MCP Headers feature on the dev branch, I noticed that entering a malformed/invalid JSON value in the input field causes the Save button to become permanently stuck in a loading state.

Even after closing the modal dialog, the save button on the UI does not recover—the only way to reset the state is by refreshing the entire page. Reopening the modal does not clear the stuck state, and the Save action remains blocked.

I think you can easiliy repeat to check this behaviour.

Steps to Reproduce

  1. git clone dev branch
  2. build docker image based on dev branch and start container
  3. open openwebui w/firefox
  4. /admin/settings/tools go this URL
  5. Add MCP connection add try w/ malformed JSON input
  6. Then save button will be stuck on state until refresh page

Logs & Screenshots

Image

Docker logs:
No related docker logs on INFO level

Console Logs:
No console logs

Additional Information

I haven't looked into it in detail, but there may be a problem with the state management on the svelte side.

Originally created by @ctolon on GitHub (Nov 24, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/19414 ### 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 Git Clone ### Open WebUI Version dev ### Ollama Version (if applicable) _No response_ ### Operating System CachyOS ### Browser (if applicable) Firefox 144.0 ### 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 Save button should be not stuck when malformed JSON inputs for MCP Custom headers. ### Actual Behavior I cloned dev branch for testing JSON based Custom MCP Headers feature then i discovered this bugged. When testing the JSON-based Custom MCP Headers feature on the dev branch, I noticed that entering a malformed/invalid JSON value in the input field causes the Save button to become permanently stuck in a loading state. Even after closing the modal dialog, the save button on the UI does not recover—the only way to reset the state is by refreshing the entire page. Reopening the modal does not clear the stuck state, and the Save action remains blocked. I think you can easiliy repeat to check this behaviour. ### Steps to Reproduce 1. git clone dev branch 2. build docker image based on dev branch and start container 3. open openwebui w/firefox 4. /admin/settings/tools go this URL 5. Add MCP connection add try w/ malformed JSON input 6. Then save button will be stuck on state until refresh page ### Logs & Screenshots <img width="1911" height="915" alt="Image" src="https://github.com/user-attachments/assets/f63820d1-b673-4ae3-98c0-260cd6d35ddf" /> Docker logs: No related docker logs on INFO level Console Logs: No console logs ### Additional Information I haven't looked into it in detail, but there may be a problem with the state management on the svelte side.
GiteaMirror added the bug label 2026-05-05 21:03:08 -05:00
Author
Owner

@tjbck commented on GitHub (Nov 24, 2025):

Addressed in dev with b2a65976177dfe86d0d0b2487e03a8310f19a16b!

<!-- gh-comment-id:3570209512 --> @tjbck commented on GitHub (Nov 24, 2025): Addressed in dev with b2a65976177dfe86d0d0b2487e03a8310f19a16b!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#57533