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
v0.6.43
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
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
Export All Chats should export the chats.
Actual Behavior
A 500 (Internal Server Error is returned)
Steps to Reproduce
Clean install on Debian.
Pull and run the container, with a bind mount for the data.
Visit the chat interface
Add open AI compatible endpoint (openrouter)
Complete a chat, all chat features work fine.
Go to account > data controls > export all chats
Click on the button, nothing happens, on the browser console a 500 response code is returned.
Which triggers subsequent error Uncaught (in promise) SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON
Server logs attached.
Logs & Screenshots
The container logs:
| File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
| await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)| File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
| raise exc
| File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
| await app(scope, receive, sender)| File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
| await self.app(scope, receive, send)| File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 716, in __call__
| await self.middleware_stack(scope, receive, send)| File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 736, in app
| await route.handle(scope, receive, send)| File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 290, in handle
| await self.app(scope, receive, send)| File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 117, in app
| await wrap_app_handling_exceptions(app, request)(scope, receive, send)| File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
| raise exc
| File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
| await app(scope, receive, sender)| File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 103, in app
|response= await f(request)| ^^^^^^^^^^^^^^^^
| File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 424, in app
|raw_response= await run_endpoint_function(| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 310, in run_endpoint_function
|return await dependant.call(**values)| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/app/backend/open_webui/routers/chats.py", line 384, in get_user_chats
|return[| ^
| File "/app/backend/open_webui/routers/chats.py", line 385, in <listcomp>
| ChatResponse(**chat.model_dump())| ^^^^^^^^^^^^^^^
| AttributeError: 'tuple' object has no attribute 'model_dump'
+------------------------------------
Browser logs
Failed to load resource: the server responded with a status of 500()
Uncaught (in promise) SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSONUnderstand this error
Additional Information
Tried redeploying after clearing the database, same issue persists.
Originally created by @sameert89 on GitHub (Dec 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20205
### 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
v0.6.43
### Ollama Version (if applicable)
_No response_
### Operating System
Debian 12
### Browser (if applicable)
_No response_
### 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
Export All Chats should export the chats.
### Actual Behavior
A 500 (Internal Server Error is returned)
### Steps to Reproduce
1. Clean install on Debian.
2. Pull and run the container, with a bind mount for the data.
3. Visit the chat interface
4. Add open AI compatible endpoint (openrouter)
5. Complete a chat, all chat features work fine.
6. Go to account > data controls > export all chats
7. Click on the button, nothing happens, on the browser console a 500 response code is returned.
8. Which triggers subsequent error `Uncaught (in promise) SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON`
9. Server logs attached.
### Logs & Screenshots
The container logs:
```bash
| File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
| await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
| File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
| raise exc
| File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
| await app(scope, receive, sender)
| File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
| await self.app(scope, receive, send)
| File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 716, in __call__
| await self.middleware_stack(scope, receive, send)
| File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 736, in app
| await route.handle(scope, receive, send)
| File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 290, in handle
| await self.app(scope, receive, send)
| File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 117, in app
| await wrap_app_handling_exceptions(app, request)(scope, receive, send)
| File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
| raise exc
| File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
| await app(scope, receive, sender)
| File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 103, in app
| response = await f(request)
| ^^^^^^^^^^^^^^^^
| File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 424, in app
| raw_response = await run_endpoint_function(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 310, in run_endpoint_function
| return await dependant.call(**values)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/app/backend/open_webui/routers/chats.py", line 384, in get_user_chats
| return [
| ^
| File "/app/backend/open_webui/routers/chats.py", line 385, in <listcomp>
| ChatResponse(**chat.model_dump())
| ^^^^^^^^^^^^^^^
| AttributeError: 'tuple' object has no attribute 'model_dump'
+------------------------------------
```
Browser logs
```bash
Failed to load resource: the server responded with a status of 500 ()
Uncaught (in promise) SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSONUnderstand this error
```
### Additional Information
Tried redeploying after clearing the database, same issue persists.
@owui-terminator[bot] commented on GitHub (Dec 27, 2025):
🔍Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20119issue: Unable to export images from conversations containing imagery to external sources (e.g., another Open WebUI instance) by CookSleep • Dec 22, 2025 • bug
#20059issue: Chat response is not working by navilg • Dec 20, 2025 • bug
#19227issue: Chat messages containing Mermaid diagrams cannot be exported as PDFs by ShirasawaSama • Nov 17, 2025 • bug
#19226issue: The conversation history of multiple models cannot be exported to PDF by ShirasawaSama • Nov 17, 2025 • bug
#18995issue: image generation and edition doesn’t work on temporary chats by futureshield • Nov 06, 2025 • bug
Show 5 more related issues
#19987issue: There is a lack of visual consistency between the home page and the chat interface. by i-iooi-i • Dec 16, 2025 • bug
#19393issue: shared chats with images - images won't show by Classic298 • Nov 23, 2025 • bug
#18999issue: Unable to load chat history by i-iooi-i • Nov 07, 2025 • bug
#11664issue: Cannot export chat by Download PDF by ddddavid-he • Mar 14, 2025 • bug
#16625issue: ENABLE_ADMIN_CHAT_ACCESS does not remove "export Database" and "Export all chats" functionality from admin ui by dwt • Aug 14, 2025 • bug
💡Tips:
If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
If you found a solution in any of these issues, please share it here to help others
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
<!-- gh-comment-id:3693937295 -->
@owui-terminator[bot] commented on GitHub (Dec 27, 2025):
🔍 **Similar Issues Found**
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
1. [#20119](https://github.com/open-webui/open-webui/issues/20119) **issue: Unable to export images from conversations containing imagery to external sources (e.g., another Open WebUI instance)**
*by CookSleep • Dec 22, 2025 • `bug`*
2. [#20059](https://github.com/open-webui/open-webui/issues/20059) **issue: Chat response is not working**
*by navilg • Dec 20, 2025 • `bug`*
3. [#19227](https://github.com/open-webui/open-webui/issues/19227) **issue: Chat messages containing Mermaid diagrams cannot be exported as PDFs**
*by ShirasawaSama • Nov 17, 2025 • `bug`*
4. [#19226](https://github.com/open-webui/open-webui/issues/19226) **issue: The conversation history of multiple models cannot be exported to PDF**
*by ShirasawaSama • Nov 17, 2025 • `bug`*
5. [#18995](https://github.com/open-webui/open-webui/issues/18995) **issue: image generation and edition doesn’t work on temporary chats**
*by futureshield • Nov 06, 2025 • `bug`*
<details>
<summary>Show 5 more related issues</summary>
6. [#19987](https://github.com/open-webui/open-webui/issues/19987) **issue: There is a lack of visual consistency between the home page and the chat interface.**
*by i-iooi-i • Dec 16, 2025 • `bug`*
7. [#19393](https://github.com/open-webui/open-webui/issues/19393) **issue: shared chats with images - images won't show**
*by Classic298 • Nov 23, 2025 • `bug`*
8. [#18999](https://github.com/open-webui/open-webui/issues/18999) **issue: Unable to load chat history**
*by i-iooi-i • Nov 07, 2025 • `bug`*
9. [#11664](https://github.com/open-webui/open-webui/issues/11664) **issue: Cannot export chat by Download PDF**
*by ddddavid-he • Mar 14, 2025 • `bug`*
10. [#16625](https://github.com/open-webui/open-webui/issues/16625) **issue: ENABLE_ADMIN_CHAT_ACCESS does not remove "export Database" and "Export all chats" functionality from admin ui**
*by dwt • Aug 14, 2025 • `bug`*
</details>
---
💡 **Tips:**
- If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
- If you found a solution in any of these issues, please share it here to help others
*This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
<!-- gh-comment-id:3694065585 -->
@silentoplayz commented on GitHub (Dec 27, 2025):
I am able to reproduce this issue on the latest `dev` commit. https://github.com/open-webui/open-webui/issues/20206 is certainly related.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @sameert89 on GitHub (Dec 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20205
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.43
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Export All Chats should export the chats.
Actual Behavior
A 500 (Internal Server Error is returned)
Steps to Reproduce
Uncaught (in promise) SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSONLogs & Screenshots
The container logs:
Browser logs
Additional Information
Tried redeploying after clearing the database, same issue persists.
@owui-terminator[bot] commented on GitHub (Dec 27, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20119 issue: Unable to export images from conversations containing imagery to external sources (e.g., another Open WebUI instance)
by CookSleep • Dec 22, 2025 •
bug#20059 issue: Chat response is not working
by navilg • Dec 20, 2025 •
bug#19227 issue: Chat messages containing Mermaid diagrams cannot be exported as PDFs
by ShirasawaSama • Nov 17, 2025 •
bug#19226 issue: The conversation history of multiple models cannot be exported to PDF
by ShirasawaSama • Nov 17, 2025 •
bug#18995 issue: image generation and edition doesn’t work on temporary chats
by futureshield • Nov 06, 2025 •
bugShow 5 more related issues
#19987 issue: There is a lack of visual consistency between the home page and the chat interface.
by i-iooi-i • Dec 16, 2025 •
bug#19393 issue: shared chats with images - images won't show
by Classic298 • Nov 23, 2025 •
bug#18999 issue: Unable to load chat history
by i-iooi-i • Nov 07, 2025 •
bug#11664 issue: Cannot export chat by Download PDF
by ddddavid-he • Mar 14, 2025 •
bug#16625 issue: ENABLE_ADMIN_CHAT_ACCESS does not remove "export Database" and "Export all chats" functionality from admin ui
by dwt • Aug 14, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@silentoplayz commented on GitHub (Dec 27, 2025):
I am able to reproduce this issue on the latest
devcommit. https://github.com/open-webui/open-webui/issues/20206 is certainly related.@Classic298 commented on GitHub (Dec 28, 2025):
fixed by https://github.com/open-webui/open-webui/pull/20212