Are you using Ryan’s kit? What board?
If you have a multimeter, test that the end stop extension wires have good crimps on the spade connectors.
I do this by probing the metal tab sticking out of the dupont (black plastic connector end) and the spade that hooks to the end stop itself.
I made myself a diagram of the rambo 1.4 board in case I ever had to move things around.
[attachment file=“Rambo14 DUAL help fixed.jpg”]