There is power on the headlight switch at B1 and B2 before I plug it in. I am not getting any power to the foot dimmer or coming out of X and Y which apparently feed the headlamps. I have zero instrument lights and no headlights.
This is a clue that there is a poor connection.
Power is connecting, but when something is turned on the voltage drops to near nothing because the electrons can't flow through the resistance.
It's like having a clogged feed in a water line. When the faucet is off, there is full pressure there. But open the faucet wide and there's no pressure and only drop comes out.