Scope probes often have a switch. or 1x or 10x.
It could be that the switch is in the 1x position, and your scope thinks it measuring 400V, while it only is measuring 40V.
But 400V is also not really excessive in a noisy industrial environment.
If I touch the probe with one hand, and put my other hand near a FL lamp, or grab the (plastic outside of) 230Vac mains, I easily measure 150V, due to some capacitive coupling.
Limiting the bandwith of the scope often helps.
You can also put a resistor parallel to the scope probe, to lessen input impedance, which will attenuate noise (hopefully) much more then your signal.
Another possibility is a bad GND connection between your scope and the test circuit.