[GH-ISSUE #19187] issue: Image generation menu gone. #34329

Closed
opened 2026-04-25 08:16:08 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @calebrio02 on GitHub (Nov 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19187

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

0.6.36

Ollama Version (if applicable)

No response

Operating System

WIndows 11 with docker desktop WSL2

Browser (if applicable)

Edge

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

tt

Actual Behavior

Hi! im just included gemini image generation using gemini 2.5 image-flash, works great but now image menu in settings doesn't work here is the log:

2025-11-14 12:02:23.392 | {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}}2025-11-14 12:02:23.392 | {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}}

2025-11-14 12:02:23.389 | 2025-11-14 18:02:23.389 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 177.93.26.199:0 - "GET /api/v1/images/config HTTP/1.1" 500
2025-11-14 12:02:23.392 | Exception in ASGI application
2025-11-14 12:02:23.392 | + Exception Group Traceback (most recent call last):
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 79, in collapse_excgroups
2025-11-14 12:02:23.392 | | yield
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 183, in call
2025-11-14 12:02:23.392 | | async with anyio.create_task_group() as task_group:
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 781, in aexit
2025-11-14 12:02:23.392 | | raise BaseExceptionGroup(
2025-11-14 12:02:23.392 | | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
2025-11-14 12:02:23.392 | +-+---------------- 1 ----------------
2025-11-14 12:02:23.392 | | Traceback (most recent call last):
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
2025-11-14 12:02:23.392 | | result = await app( # type: ignore[func-returns-value]
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
2025-11-14 12:02:23.392 | | return await self.app(scope, receive, send)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1133, in call
2025-11-14 12:02:23.392 | | await super().call(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 113, in call
2025-11-14 12:02:23.392 | | await self.middleware_stack(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in call
2025-11-14 12:02:23.392 | | raise exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in call
2025-11-14 12:02:23.392 | | await self.app(scope, receive, _send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/sessions.py", line 85, in call
2025-11-14 12:02:23.392 | | await self.app(scope, receive, send_wrapper)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in call
2025-11-14 12:02:23.392 | | await self.app(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | | raise exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/main.py", line 1305, in inspect_websocket
2025-11-14 12:02:23.392 | | return await call_next(request)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | | raise app_exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | | raise exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/main.py", line 1284, in check_url
2025-11-14 12:02:23.392 | | response = await call_next(request)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | | raise app_exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | | raise exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/main.py", line 1270, in commit_session_after_request
2025-11-14 12:02:23.392 | | response = await call_next(request)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | | raise app_exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | | raise exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch
2025-11-14 12:02:23.392 | | response = await call_next(request)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | | raise app_exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | | raise exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/main.py", line 1256, in dispatch
2025-11-14 12:02:23.392 | | response = await call_next(request)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | | raise app_exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette_compress/init.py", line 94, in call
2025-11-14 12:02:23.392 | | return await self._brotli(scope, receive, send)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette_compress/_brotli.py", line 106, in call
2025-11-14 12:02:23.392 | | await self.app(scope, receive, wrapper)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 63, in call
2025-11-14 12:02:23.392 | | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-11-14 12:02:23.392 | | raise exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-11-14 12:02:23.392 | | await app(scope, receive, sender)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
2025-11-14 12:02:23.392 | | await self.app(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 716, in call
2025-11-14 12:02:23.392 | | await self.middleware_stack(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 736, in app
2025-11-14 12:02:23.392 | | await route.handle(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 290, in handle
2025-11-14 12:02:23.392 | | await self.app(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 123, in app
2025-11-14 12:02:23.392 | | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-11-14 12:02:23.392 | | raise exc
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-11-14 12:02:23.392 | | await app(scope, receive, sender)
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 109, in app
2025-11-14 12:02:23.392 | | response = await f(request)
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 409, in app
2025-11-14 12:02:23.392 | | content = await serialize_response(
2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 252, in serialize_response
2025-11-14 12:02:23.392 | | raise ResponseValidationError(
2025-11-14 12:02:23.392 | | fastapi.exceptions.ResponseValidationError: 1 validation errors:
2025-11-14 12:02:23.392 | | {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}}
2025-11-14 12:02:23.392 | |
2025-11-14 12:02:23.392 | +------------------------------------
2025-11-14 12:02:23.392 |
2025-11-14 12:02:23.392 | During handling of the above exception, another exception occurred:
2025-11-14 12:02:23.392 |
2025-11-14 12:02:23.392 | Traceback (most recent call last):
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
2025-11-14 12:02:23.392 | result = await app( # type: ignore[func-returns-value]
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
2025-11-14 12:02:23.392 | return await self.app(scope, receive, send)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1133, in call
2025-11-14 12:02:23.392 | await super().call(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 113, in call
2025-11-14 12:02:23.392 | await self.middleware_stack(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in call
2025-11-14 12:02:23.392 | raise exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in call
2025-11-14 12:02:23.392 | await self.app(scope, receive, _send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/sessions.py", line 85, in call
2025-11-14 12:02:23.392 | await self.app(scope, receive, send_wrapper)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in call
2025-11-14 12:02:23.392 | await self.app(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | raise exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/app/backend/open_webui/main.py", line 1305, in inspect_websocket
2025-11-14 12:02:23.392 | return await call_next(request)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | raise app_exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | raise exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/app/backend/open_webui/main.py", line 1284, in check_url
2025-11-14 12:02:23.392 | response = await call_next(request)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | raise app_exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | raise exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/app/backend/open_webui/main.py", line 1270, in commit_session_after_request
2025-11-14 12:02:23.392 | response = await call_next(request)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | raise app_exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | raise exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch
2025-11-14 12:02:23.392 | response = await call_next(request)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | raise app_exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in call
2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups():
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups
2025-11-14 12:02:23.392 | raise exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in call
2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/app/backend/open_webui/main.py", line 1256, in dispatch
2025-11-14 12:02:23.392 | response = await call_next(request)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2025-11-14 12:02:23.392 | raise app_exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro
2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette_compress/init.py", line 94, in call
2025-11-14 12:02:23.392 | return await self._brotli(scope, receive, send)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette_compress/_brotli.py", line 106, in call
2025-11-14 12:02:23.392 | await self.app(scope, receive, wrapper)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 63, in call
2025-11-14 12:02:23.392 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-11-14 12:02:23.392 | raise exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-11-14 12:02:23.392 | await app(scope, receive, sender)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
2025-11-14 12:02:23.392 | await self.app(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 716, in call
2025-11-14 12:02:23.392 | await self.middleware_stack(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 736, in app
2025-11-14 12:02:23.392 | await route.handle(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 290, in handle
2025-11-14 12:02:23.392 | await self.app(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 123, in app
2025-11-14 12:02:23.392 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-11-14 12:02:23.392 | raise exc
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-11-14 12:02:23.392 | await app(scope, receive, sender)
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 109, in app
2025-11-14 12:02:23.392 | response = await f(request)
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 409, in app
2025-11-14 12:02:23.392 | content = await serialize_response(
2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 252, in serialize_response
2025-11-14 12:02:23.392 | raise ResponseValidationError(
2025-11-14 12:02:23.392 | fastapi.exceptions.ResponseValidationError: 1 validation errors:
2025-11-14 12:02:23.392 | {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}}
2025-11-14 12:02:23.392 |

Steps to Reproduce

Install docker openweb ui selecting gemini and model for image generation, issue present since

Logs & Screenshots

Image

Additional Information

No response

Originally created by @calebrio02 on GitHub (Nov 14, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/19187 ### 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 0.6.36 ### Ollama Version (if applicable) _No response_ ### Operating System WIndows 11 with docker desktop WSL2 ### Browser (if applicable) Edge ### 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 tt ### Actual Behavior Hi! im just included gemini image generation using gemini 2.5 image-flash, works great but now image menu in settings doesn't work here is the log: 2025-11-14 12:02:23.392 | {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}}2025-11-14 12:02:23.392 | {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}} 2025-11-14 12:02:23.389 | 2025-11-14 18:02:23.389 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 177.93.26.199:0 - "GET /api/v1/images/config HTTP/1.1" 500 2025-11-14 12:02:23.392 | Exception in ASGI application 2025-11-14 12:02:23.392 | + Exception Group Traceback (most recent call last): 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 79, in collapse_excgroups 2025-11-14 12:02:23.392 | | yield 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 183, in __call__ 2025-11-14 12:02:23.392 | | async with anyio.create_task_group() as task_group: 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 781, in __aexit__ 2025-11-14 12:02:23.392 | | raise BaseExceptionGroup( 2025-11-14 12:02:23.392 | | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) 2025-11-14 12:02:23.392 | +-+---------------- 1 ---------------- 2025-11-14 12:02:23.392 | | Traceback (most recent call last): 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi 2025-11-14 12:02:23.392 | | result = await app( # type: ignore[func-returns-value] 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ 2025-11-14 12:02:23.392 | | return await self.app(scope, receive, send) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1133, in __call__ 2025-11-14 12:02:23.392 | | await super().__call__(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 113, in __call__ 2025-11-14 12:02:23.392 | | await self.middleware_stack(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2025-11-14 12:02:23.392 | | raise exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2025-11-14 12:02:23.392 | | await self.app(scope, receive, _send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/sessions.py", line 85, in __call__ 2025-11-14 12:02:23.392 | | await self.app(scope, receive, send_wrapper) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in __call__ 2025-11-14 12:02:23.392 | | await self.app(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | | raise exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/main.py", line 1305, in inspect_websocket 2025-11-14 12:02:23.392 | | return await call_next(request) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | | raise app_exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | | raise exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/main.py", line 1284, in check_url 2025-11-14 12:02:23.392 | | response = await call_next(request) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | | raise app_exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | | raise exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/main.py", line 1270, in commit_session_after_request 2025-11-14 12:02:23.392 | | response = await call_next(request) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | | raise app_exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | | raise exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch 2025-11-14 12:02:23.392 | | response = await call_next(request) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | | raise app_exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | | raise exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/app/backend/open_webui/main.py", line 1256, in dispatch 2025-11-14 12:02:23.392 | | response = await call_next(request) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | | raise app_exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette_compress/__init__.py", line 94, in __call__ 2025-11-14 12:02:23.392 | | return await self._brotli(scope, receive, send) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette_compress/_brotli.py", line 106, in __call__ 2025-11-14 12:02:23.392 | | await self.app(scope, receive, wrapper) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 63, in __call__ 2025-11-14 12:02:23.392 | | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2025-11-14 12:02:23.392 | | raise exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app 2025-11-14 12:02:23.392 | | await app(scope, receive, sender) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ 2025-11-14 12:02:23.392 | | await self.app(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 716, in __call__ 2025-11-14 12:02:23.392 | | await self.middleware_stack(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 736, in app 2025-11-14 12:02:23.392 | | await route.handle(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 290, in handle 2025-11-14 12:02:23.392 | | await self.app(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 123, in app 2025-11-14 12:02:23.392 | | await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2025-11-14 12:02:23.392 | | raise exc 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app 2025-11-14 12:02:23.392 | | await app(scope, receive, sender) 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 109, in app 2025-11-14 12:02:23.392 | | response = await f(request) 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 409, in app 2025-11-14 12:02:23.392 | | content = await serialize_response( 2025-11-14 12:02:23.392 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 252, in serialize_response 2025-11-14 12:02:23.392 | | raise ResponseValidationError( 2025-11-14 12:02:23.392 | | fastapi.exceptions.ResponseValidationError: 1 validation errors: 2025-11-14 12:02:23.392 | | {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}} 2025-11-14 12:02:23.392 | | 2025-11-14 12:02:23.392 | +------------------------------------ 2025-11-14 12:02:23.392 | 2025-11-14 12:02:23.392 | During handling of the above exception, another exception occurred: 2025-11-14 12:02:23.392 | 2025-11-14 12:02:23.392 | Traceback (most recent call last): 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi 2025-11-14 12:02:23.392 | result = await app( # type: ignore[func-returns-value] 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ 2025-11-14 12:02:23.392 | return await self.app(scope, receive, send) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1133, in __call__ 2025-11-14 12:02:23.392 | await super().__call__(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 113, in __call__ 2025-11-14 12:02:23.392 | await self.middleware_stack(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2025-11-14 12:02:23.392 | raise exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2025-11-14 12:02:23.392 | await self.app(scope, receive, _send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/sessions.py", line 85, in __call__ 2025-11-14 12:02:23.392 | await self.app(scope, receive, send_wrapper) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in __call__ 2025-11-14 12:02:23.392 | await self.app(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | raise exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/app/backend/open_webui/main.py", line 1305, in inspect_websocket 2025-11-14 12:02:23.392 | return await call_next(request) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | raise app_exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | raise exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/app/backend/open_webui/main.py", line 1284, in check_url 2025-11-14 12:02:23.392 | response = await call_next(request) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | raise app_exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | raise exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/app/backend/open_webui/main.py", line 1270, in commit_session_after_request 2025-11-14 12:02:23.392 | response = await call_next(request) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | raise app_exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | raise exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch 2025-11-14 12:02:23.392 | response = await call_next(request) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | raise app_exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 182, in __call__ 2025-11-14 12:02:23.392 | with recv_stream, send_stream, collapse_excgroups(): 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__ 2025-11-14 12:02:23.392 | self.gen.throw(typ, value, traceback) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 85, in collapse_excgroups 2025-11-14 12:02:23.392 | raise exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 184, in __call__ 2025-11-14 12:02:23.392 | response = await self.dispatch_func(request, call_next) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/app/backend/open_webui/main.py", line 1256, in dispatch 2025-11-14 12:02:23.392 | response = await call_next(request) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next 2025-11-14 12:02:23.392 | raise app_exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 144, in coro 2025-11-14 12:02:23.392 | await self.app(scope, receive_or_disconnect, send_no_error) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette_compress/__init__.py", line 94, in __call__ 2025-11-14 12:02:23.392 | return await self._brotli(scope, receive, send) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette_compress/_brotli.py", line 106, in __call__ 2025-11-14 12:02:23.392 | await self.app(scope, receive, wrapper) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 63, in __call__ 2025-11-14 12:02:23.392 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2025-11-14 12:02:23.392 | raise exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app 2025-11-14 12:02:23.392 | await app(scope, receive, sender) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ 2025-11-14 12:02:23.392 | await self.app(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 716, in __call__ 2025-11-14 12:02:23.392 | await self.middleware_stack(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 736, in app 2025-11-14 12:02:23.392 | await route.handle(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 290, in handle 2025-11-14 12:02:23.392 | await self.app(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 123, in app 2025-11-14 12:02:23.392 | await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2025-11-14 12:02:23.392 | raise exc 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app 2025-11-14 12:02:23.392 | await app(scope, receive, sender) 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 109, in app 2025-11-14 12:02:23.392 | response = await f(request) 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 409, in app 2025-11-14 12:02:23.392 | content = await serialize_response( 2025-11-14 12:02:23.392 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-14 12:02:23.392 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 252, in serialize_response 2025-11-14 12:02:23.392 | raise ResponseValidationError( 2025-11-14 12:02:23.392 | fastapi.exceptions.ResponseValidationError: 1 validation errors: 2025-11-14 12:02:23.392 | {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}} 2025-11-14 12:02:23.392 | ### Steps to Reproduce Install docker openweb ui selecting gemini and model for image generation, issue present since ### Logs & Screenshots <img width="2025" height="1071" alt="Image" src="https://github.com/user-attachments/assets/86200a07-0488-412b-bd8d-9fa16442b5e8" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 08:16:08 -05:00
Author
Owner

@silentoplayz commented on GitHub (Nov 15, 2025):

This issue has also been reported by a user in our Discord server with the following error log snippet provided.

File "F:\OWUI\open-webui-env\Lib\site-packages\fastapi\routing.py", line 252, in serialize_response
    raise ResponseValidationError(
fastapi.exceptions.ResponseValidationError: 1 validation errors:
  {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}}
<!-- gh-comment-id:3536725220 --> @silentoplayz commented on GitHub (Nov 15, 2025): This issue has also been reported by a user in our Discord server with the following error log snippet provided. ```cmd File "F:\OWUI\open-webui-env\Lib\site-packages\fastapi\routing.py", line 252, in serialize_response raise ResponseValidationError( fastapi.exceptions.ResponseValidationError: 1 validation errors: {'type': 'string_type', 'loc': ('response', 'AUTOMATIC1111_API_AUTH'), 'msg': 'Input should be a valid string', 'input': {}} ```
Author
Owner

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

Should be addressed in dev, testing wanted here.

<!-- gh-comment-id:3536871905 --> @tjbck commented on GitHub (Nov 15, 2025): Should be addressed in dev, testing wanted here.
Author
Owner

@fordinator commented on GitHub (Nov 16, 2025):

My apologies, I will gladly test it with a new instance. I searched for "Failed" and "Server Failed" in both open and closed issues but had trouble locating a similar problem. Thank you for the insight and all your work on this project.

<!-- gh-comment-id:3539030283 --> @fordinator commented on GitHub (Nov 16, 2025): My apologies, I will gladly test it with a new instance. I searched for "Failed" and "Server Failed" in both open and closed issues but had trouble locating a similar problem. Thank you for the insight and all your work on this project.
Author
Owner

@akahriz commented on GitHub (Nov 18, 2025):

Hi, having the same issue as well. Please let me know if you need any logs or details

<!-- gh-comment-id:3544933377 --> @akahriz commented on GitHub (Nov 18, 2025): Hi, having the same issue as well. Please let me know if you need any logs or details
Author
Owner

@fordinator commented on GitHub (Nov 18, 2025):

Well... I was able to solve the invisible images page by updating to the dev version. The instructions are in the OpenWebUI official documentation. But I am having wholly new problems related to my network. Perhaps you should open another issue.

<!-- gh-comment-id:3545775072 --> @fordinator commented on GitHub (Nov 18, 2025): Well... I was able to solve the invisible images page by updating to the dev version. The instructions are in the OpenWebUI official documentation. But I am having wholly new problems related to my network. Perhaps you should open another issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#34329