mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-05 16:28:32 -05:00
[GH-ISSUE #21509] issue: 'JSONResponse' object is not subscriptable #58170
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 @erhhung on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21509
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.2
Ollama Version (if applicable)
v0.16.1
Operating System
Ubuntu 24.04
Browser (if applicable)
Chromium (Playwright)
Confirmation
README.md.Expected Behavior
Initiated a chat with Web Search capability:
Retrieved 3 sources
What are the top business news for today?
Business News - CNBC
Business News - Latest Headlines on CNN Business | CNN Business
Business: US & International Top Business News | AP News
Business News: Reports and Video on Stocks, Inflation, Recalls and More | NBC News
Reuters Business News | Today's International Headlines | Reuters
Bloomberg - Business News, Stock Markets, Finance, Breaking & World News
Google News - Business - Latest
Fox Business | Business News & Stock Quotes - Saving & Investing
BBC Business | Economy, Tech, AI, Work, Personal Finance, Market news
Investor's Business Daily | Stock News and Stock Market Analysis - IBD
Business Insider - Latest News in Tech, Markets, Economy & Innovation
Expected chat to generate a response, but none was generated. Container logs immediately dumped the exception and stack trace shown below while still indicating the "Searching" step.
Actual Behavior
Web search runs okay and returns URLs; NLTK downloads data packages okay; the pipeline then stalls/fails. Exception stack trace is output in the container logs.
Steps to Reproduce
Running Open WebUI v0.8.2 and sending a chat message that invoked web search (Open WebUI -> LiteLLM (perplexity_search) -> SearXNG) and web loader (Playwright). Model used is Gemma3 via Ollama.
Logs & Screenshots
@Classic298 commented on GitHub (Feb 17, 2026):
Please try 0.8.3
@Classic298 commented on GitHub (Feb 17, 2026):
any update? is this still present int .3? how can we reproduce this? A simple web search doesnt trigger this error for me
@erhhung commented on GitHub (Feb 18, 2026):
OK. I believe this is fixed in 0.8.3 as I don't see the exception anymore.
@AkseliLaakso-1 commented on GitHub (Mar 4, 2026):
Hey, I am having the same problem and didn't find a fix. Any updates on the matter? When or will this be fixed?
I tried these versions: v0.7.2, v0.8.3, v0.8.5, v0.8.6, v0.8.7.
Clean install, without data. using DDGS, Backend Random. Tried other search engines as well and didn't find a working one.
Error message:
└ {'stream': True, 'model': 'models/gemini-2.5-flash', 'messages': [{'role': 'user', 'content': 'Do a simple web search and tel...
File "/app/backend/open_webui/utils/middleware.py", line 1581, in process_chat_payload
form_data = await chat_web_search_handler(
└ <function chat_web_search_handler at 0x7b4c71ab79c0>
@hexomethyl commented on GitHub (Mar 29, 2026):
Also having a similar issue on v0.8.12
Have tried with DDGS + Random aswell as Searxng, same issue. Web search has been working fine for the past 3 months (Been updating regularly). It broke for me around the time I updated to v0.8.10+