mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #10212] Direct user-level OpenAI API connection results in 'owned_by' error when chatting with model #54476
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 @AlyamanMas on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10212
Bug Report
Installation Method
Two installations were tested. The error could be found in both of them:
Environment
Confirmation:
Expected Behavior:
You get a response after using a model that is linked through a user-level direct API connection.
Actual Behavior:
You get an error message 'owned_by' as seen in the following image:
Description
Bug Summary:
When using models through a direct openrouter OpenAI API connection, the models always give an error. Meanwhile, using the same models with the same prompts, with the same API keys and gateway but on the website level from the admin configuration consistently works as opposed to using the model directly.
Reproduction Details
Steps to Reproduce:
0. (may or may not be relevant) Get an openrouter API key.
Logs and Screenshots
Browser Console Logs:
console-export-2025-2-18_0-56-34.txt
NixOS Open WebUI systemd Module Log:
systemd-webui.txt
Screenshots/Screen Recordings (if applicable):

@tjbck commented on GitHub (Feb 17, 2025):
This should be resolved in dev!