WARNING: This page is about a different car, the 2015 Subaru Outback and 2015 Subaru Legacy. However, it is still accessible from the selected car via links, so may be relevant.
Make sure that the engine ground terminal is properly connected to the engine.