From 8bd2081dec15c2255e295302687a1e1c4ce413e3 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 26 Mar 2025 15:41:40 -0700 Subject: [PATCH] fix get_key_object --- litellm/proxy/auth/auth_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.py index 9e711477068..dc0ec116f56 100644 --- a/litellm/proxy/auth/auth_checks.py +++ b/litellm/proxy/auth/auth_checks.py @@ -996,7 +996,7 @@ async def get_key_object( if _valid_token is None: raise ProxyException( - message="Key doesn't exist in db. key={}. Create key via `/key/generate` call.".format( + message="Invalid proxy server token passed. key={}, not found in db. Create key via `/key/generate` call.".format( hashed_token ), type=ProxyErrorTypes.token_not_found_in_db,