No statistically significant associations were observed between pathological biomarkers including programmed cell death ligand 1 (PD-L1), mismatch repair (MMR) and human epidermal growth factor receptor 2 (HER2) and either IL-6 levels or irAEs occurrence in both GC and ESCC patients. This evidence concerns the gene ERBB2 and esophageal squamous cell carcinoma.