mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #19414] issue: Save button becomes unresponsive when adding a JSON-formatted custom header with syntax errors (dev branch only) #57533
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ctolon on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19414
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
dev
Ollama Version (if applicable)
No response
Operating System
CachyOS
Browser (if applicable)
Firefox 144.0
Confirmation
README.md.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
Logs & Screenshots
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.
@tjbck commented on GitHub (Nov 24, 2025):
Addressed in dev with b2a65976177dfe86d0d0b2487e03a8310f19a16b!