Error for empty batches before sending