WARNING: This page is about a different car, the 2016 Subaru Outback and 2016 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.