Put in a new solenoid

Gday champs, i put in a new solenoid to my ride on mower, and every time I try connecting the negative terminal to the battery, it starts sparking up something crazy, I must’ve wired something wrong, I’m hoping one of you fellas might be able to spot the problem

Cheers