How to Handle Batch Issues: Obtaining Batch ID and Type