Payload too large for Async Inference on Sagemaker

Have you tried creating a custom inference.py script to log some information, e.g. if the data file gets correct passed into the handler?