Ended 3 v3 se. x axis and z axis limit switches show triggered

My ended 3 v3 se was printing fine. However, it started having issues with the x axis. It will not print in the center of the plate and when leveling it will not go to the left side of the plate. It’s not a slicer issue because the prints were printing in the middle prior to this issue.

Research led me to downloading printer face and putting in cod M119 which shows the X and Z limit switches to be triggered.

after replacing the X limit switch, I tried auto leveling and found the same issue. Check pronterface again and showed that the X and Z limit switches as triggered.

I bought a new main board and installed it. No change in the state of the X and Z limit switches.

I believe it is the ribbon cable but cannot seem to find the ribbon cable. Has anyone found a place to purchase ribbon cable for an Ender 3 V3 Se?