We recently got our Zcorp Z402 3d printer working, and it has been working fine until now. We turned on the machine and within a few seconds of startup, the error

ALERT! SAFETY LATCH TRIPPED!.. Recorded, is given.

This is happening before any calibration of the machine is done.
It does not seem to be the front doors of the machine or the back panel.