From c5340b87098638f781ce2dfec3349c47e11232b7 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 19 Dec 2023 15:25:29 +0000 Subject: [PATCH] fix(utils.py): vertex ai exception mapping --- litellm/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/utils.py b/litellm/utils.py index 90678f45c..98806c101 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -4719,7 +4719,7 @@ def exception_type( ) elif "403" in error_str: exception_mapping_worked = True - raise U( + raise BadRequestError( message=f"VertexAIException - {error_str}", model=model, llm_provider="vertex_ai",