Correction to: Nature https://doi.org/10.1038/s41586-021-04084-z Published online 10 November 2021

In the version of this article initially published, there were several labelling errors. In Fig. 1c, the rotation shown at right for the inset structure reading “90o” initially read “180o.” In Extended Data Figs. 2f and 7d, “MotionCor2” replaces “Motioncorr2,” while in Extended Data Fig. 8d, “Trastuzumab” replaces “Pertuzumab.” In Extended Data Fig. 8f, HER2 in the heading has been replaced by HER2-S310F. In Extended Data Fig. 4, the numbering of the EGFR sequence has been changed to include the signal sequence and is consistent with Uniprot numbering. Consequently, in Extended Data Fig. 4a, H-bond 18 has been relabelled as C307; in Extended Data Fig. 4c, H-bond 1 has been relabelled as K248; and in Extended Data Fig. 4e, H-bond 1 has been relabelled as K248.