Conditioned deletion of SHP-1 in NaV1.8+ neurons aggravated bone cancer pain and diminished the inhibition of PD-L1 on TRPV1 currents and pain. Here, SCN10A is linked to bone cancer.