ALARM:2 G-code motion target exceeds machine travel. Machine position safely retained. Alarm may be unlocked. (Right-click the 'Devices' button to reset the connection) On or near line 0: Job halted

There are many similar Topics on this forum that address this issue.

I’d suggest starting here:

What exactly are you moving?

And where is the red dot that you’re referring to?