DTC P1817 Sports Mode Switch Circuit (Manual Switch): DTC Detecting Condition
WARNING: This page is about a different car, the 2012 Subaru Forester. However, it is still accessible from the selected car via links, so may be relevant.
Input signal circuit of SPORT shift switch is shorted.