mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #11411] API Key length restrictions? #31748
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 @Vladimir-Va on GitHub (Mar 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11411
Hello.
Are there any restrictions on the length of the API key?
On the same Docker Container installation.
Two proxy providers compatible with the endpoint of the OpenAI.
With a key length of up to 64 characters, they work perfectly.
But the third one has a key length of 212 characters, and in the chat I see an error with it:
'str' object has no attribute 'get'And in server logs:
open_webui.routers.openai:generate_chat_completion:724 - 200, message='Attempt to decode JSON with unexpected mimetype: ', url='https://proxyprovider/openai/v1/chat/completions' - {}The length of the keys is the only thing that distinguishes them, I thought there were some restrictions on the length of the key.