Nozzle doesn't heat up and loses temp during print

Hi,
I´m having problems with my nozzle on my K8400. I have changed the heat pin and the temp indicator but the problem hasn´t been solved yet. I have to wiggle the cords from the heat sensor and the heat pin and then the printer starts to print and after a while indicates a loss of heat. Any ideas on where to get a new board or what can solve the issue
/ danny

Have you tried re-aligning the sensor inside the heater block?

Sounds like the wires going to the screw connector are loose.

Thanks guys!
Checked all that before, something is glitching but non of the above

Maybe the heater is defective.