diff --git a/litellm/exceptions.py b/litellm/exceptions.py index 4378bd6766..955fe674f0 100644 --- a/litellm/exceptions.py +++ b/litellm/exceptions.py @@ -104,7 +104,8 @@ class APIError(APIError): # type: ignore self.model = model super().__init__( self.message, - request=request # type: ignore + request=request, # type: ignore, + body=None, ) # raised if an invalid request (not get, delete, put, post) is made