diff --git a/litellm/utils.py b/litellm/utils.py index 4e05caa76..8738d8521 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -3682,7 +3682,7 @@ def exception_type( llm_provider="vertex_ai", response=original_exception.response ) - elif "403 Permission denied" in error_str: + elif "403" in error_str: exception_mapping_worked = True raise AuthenticationError( message=f"VertexAIException - {error_str}",