diff --git a/flytekit/clis/sdk_in_container/utils.py b/flytekit/clis/sdk_in_container/utils.py index 8c59b00c1c7..1643e80ee9f 100644 --- a/flytekit/clis/sdk_in_container/utils.py +++ b/flytekit/clis/sdk_in_container/utils.py @@ -6,7 +6,6 @@ import grpc import rich_click as click -from google.protobuf.json_format import MessageToJson from flytekit.exceptions.base import FlyteException from flytekit.exceptions.user import FlyteInvalidInputException @@ -108,8 +107,6 @@ def pretty_print_exception(e: Exception): click.secho(f"Failed with Exception Code: {e._ERROR_CODE}", fg="red") # noqa if isinstance(e, FlyteInvalidInputException): click.secho("Request rejected by the API, due to Invalid input.", fg="red") - click.secho(f"\tInput Request: {MessageToJson(e.request)}", dim=True) - cause = e.__cause__ if cause: if isinstance(cause, grpc.RpcError):