strong-vase-18073
09/03/2026, 9:14 PMlitellm_proxy/deepseek-v4-flash model:
Error code: 401 - {'error': {'message': 'Authentication Error, Invalid proxy server token passed. Received API Key = sk-asfasdf..., Key Hash (Token) =asdasdf... Unable to find token in cache or `LiteLLM_VerificationTokenTable`', 'type': 'token_not_found_in_db', 'param': 'key', 'code': '401'}}
I tried logging out and in again, but beyond that I don't see any mechanism at all to remedy it.limited-student-10747
09/03/2026, 9:21 PMstrong-vase-18073
09/03/2026, 10:16 PMANTHROPIC_WORKSPACE_ID in secrets. Unfortunately once a model errors the session is basically unrecoverable so trying out different things means waiting for a box to spin up each time.strong-vase-18073
09/03/2026, 10:19 PMlimited-student-10747
09/05/2026, 12:06 PMdry-tailor-37953
09/10/2026, 6:25 AMblue-grass-57262
09/15/2026, 2:17 PMcalm-artist-7206
09/15/2026, 2:29 PMcalm-artist-7206
09/15/2026, 2:30 PMcalm-artist-7206
09/15/2026, 2:30 PMcalm-artist-7206
09/15/2026, 2:31 PMblue-grass-57262
09/15/2026, 2:31 PMelegant-branch-54423
09/15/2026, 2:40 PMblue-grass-57262
09/15/2026, 2:45 PMcalm-artist-7206
09/22/2026, 3:30 PMopenhands/ key
As noted in the ticket above, the openhands/ key is never refreshed by the code; emptying it and refreshing it via API (or via database) makes it work again.
I'd suggest doing that for the affected accounts; they have an openhands/ key that should be easy to just rotate, thus it will work again for people.
2. Hypothesis:
PRs enterprise#168 and enterprise#178 from August 2026 are making interesting assumptions, and appear related to the breaking of openhands/ provider.
I think, and please note that this is an hypothesis, that we have 2 different expected behaviors of the term “managed litellm key” in 2 different scenarios:calm-artist-7206
09/22/2026, 3:35 PMuser_info.agent_settings.llm_settings - please do note, on an aside, that it’s legacy and deprecated
• this kind of code avoids to refresh “BYOR”
(b) individual users, personal workspace/org:
• may use openhands/ provider
• in that case, openhands app litellm proxy behaves like a managed proxy, with a managed key
• it seems saved in “org settings” too
• but for these users, the `openhands/`` key is not refreshedcalm-artist-7206
09/22/2026, 3:36 PMcalm-artist-7206
09/22/2026, 3:39 PMopenhands provider has a managed llm key, and use of it from individual Cloud users should still get a refreshed key, otherwise it would stop workingcalm-artist-7206
09/22/2026, 7:25 PMopenhands/, one on an org managed key, random other direct LLM API e.g. a DeepSeek direct
• represent both users from an org and individual
• direct conversation, automation, switch profile, set active profile; perms
• represent all the possibilities, they’re not that many, but the code is tricky, it seems to me
For the record, there is another bug with it, though I’m not sure if this is my particular edge case, when openhands/ LLM in Automations got its key overridden unexpectedly.
I personally found that live LLM tests are great, idk, I have an implementation of all 4 LLM APIs and I don’t know how I could ever account for the endless provider quirks without live testing. Not unit tests, not CI, live setups to serve for regression testing. 🤷elegant-branch-54423
09/23/2026, 11:42 AM