Homing error issues

I have been messing around with setting up my Shapeoko 5pro 4x4 for the last two days with carbide motion. It doesn’t have issues when I “set up new machine” in carbide motion but when I connect machine and attempt to initialize machine it tests three times on the z axis and goes to the back right corner and the light appears once from the sensor and I get an HM008 error. I checked that the machine is square and other things. I’m at my wits end. It was fine and then it wasn’t. I don’t know what to do.

I don’t have the 5 pro so I’m not sure how much help I can be, but I found this to share with you.
Hope it helps.

Troubleshooting Homing.