Printer heating up and resulting in error

Measure the output voltage under load with a DMM, e.g. bed and extruder heating. It needs to stay rock solid at around 24V (given it is a 24V PSU of course).

Be careful there is mains voltage nearby → Working with Line Voltage (110 V / 230 V / >50 V)