Hello !
I had this issue with a laser cutter and engraver - The problem I had is that during transportation the connections of the limits with the electronic board were slightly out of place.The machine was not recognizing the limits and it was crashing into a side. We just checked the wires and the connections and they worked for us. See if there is anyting not connected properly.
Hope this helps,
Dragos