mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-23 10:02:10 -05:00
[GH-ISSUE #24639] issue: Error processing chat payload: 'NoneType' object has no attribute 'startswith' #107362
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 @Arondight on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24639
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v.0.9.5
Ollama Version (if applicable)
No response
Operating System
CentOS Stream 10
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Opencode connect v0.9.2 works well, but v0.9.5 get an error log, it should be fixed.
Actual Behavior
and the backend log:
Steps to Reproduce
steps as https://github.com/anomalyco/opencode/pull/18306#issuecomment-4432435576
Logs & Screenshots
See Actual Behavior.
Additional Information
No response
@owui-terminator[bot] commented on GitHub (May 13, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
🟣 #24550 bug: NoneType object has no attribute 'startswith' — all /api/v1/chat/completions calls return 400 (v0.9.5, direct connections)
This is the closest match: it reports the same
'NoneType' object has no attribute 'startswith'error on chat completions in v0.9.5, specifically for external/direct API clients. The new issue also shows the same backend log and an external client (opencode) failing via/api/chat/completions.by ThefloorMiner
🟣 #24575 bug: 'NoneType' object has no attribute 'startswith' on /api/chat/completions when external client omits parent_id
This issue is about the same exception occurring when an external client calls
/api/chat/completionswithoutparent_id. The new report is also an external OpenAI-compatible client integration failing with the samestartswitherror.by Ghosterme-dev ·
bug🟣 #24603 issue: opencode api access Bad Request: {"detail":"'NoneType' object has no attribute 'startswith'"}
This is the same opencode-related failure and same error string, just reported on v0.9.6. It is highly relevant because the new issue is explicitly about opencode connect and the same backend crash signature.
by vibeopsde ·
bug🟣 #24564 Issue #24564
This issue matches the identical error on
/api/chat/completionsand indicates a general API-call regression in chat payload processing. It is relevant because the new issue shows the same server-side failure path and HTTP 400 response.by unknown
💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.
@Arondight commented on GitHub (May 13, 2026):
dup of #24553 and close