Correction to: Nature https://doi.org/10.1038/s41586-025-09203-8 Published online 2 July 2025

In the version of this article initially published, a patient’s KRAS mutation was mistakenly documented as a PIK3CA mutation in the original data. In Table 1, the incorrect entries in the “PIK3CA mutation present, n (%)” section—P value (0.459); Mutated: Yes (6 (54.5)), No (5 (45.5)); Wild-type: Yes (16 (69.6)), No (7 (30.4))—have been updated to P value (0.717); Mutated: Yes (5 (45.5)), No (6 (54.5)); Wild-type: Yes (13 (56.5)), No (10 (43.5)). In the “Survival after ICB in the OCCC cohort” section of main text, in the sentence now reading “Next-generation sequencing analysis of tumour biopsies identified ARID1A and PIK3CA somatic mutations or alterations in the majority of patients (73.5% and 52.9%, respectively)” 52.9% replaces “55.9%”. Additionally, there were a few mutations with mislabeled mutation types in Extended Data Fig. 1b. Extended Data Fig. 1b and accompanying source data have been updated. These errors do not affect the results or conclusions of the study. The changes have been made in the HTML and PDF versions of the article.