PTPN2 levels are upregulated in human cancers that are refractory to current immunotherapy. Here, PTPN2 is linked to cancer.