cranks but won't start?
Id go back to the car and double check it was mounted to something within reach of what ever is further back up the wiring. Generally plugs on modern vehicles are all different shaped slightly so you cant mismatch. Guessing you left something on or in th car.