error handling for faulty batch result