diff --git a/backend/open_webui/routers/configs.py b/backend/open_webui/routers/configs.py index 46fbb41b99..10577e26d6 100644 --- a/backend/open_webui/routers/configs.py +++ b/backend/open_webui/routers/configs.py @@ -234,7 +234,7 @@ async def verify_tool_servers_config( ) raise HTTPException( status_code=400, - detail=f"Failed to parse OAuth 2.1 discovery document from {discovery_urls[0]}", + detail=f"Failed to parse OAuth 2.1 discovery document from {discovery_url}", ) raise HTTPException(