Originally created by @Vladimir-Va on GitHub (Mar 8, 2025).
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.
Originally created by @Vladimir-Va on GitHub (Mar 8, 2025).
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.
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 @Vladimir-Va on GitHub (Mar 8, 2025).
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.