I just went through this problem.
Before going on our last trip, we discovered the forward wall was not moving. I was able to push that side in/out by hand while DW held the button down.
When we got home I watched a few videos on how to change the forward motor. I brought the slide about half way in.
On the outside, remove the motor retention screw. This screw goes through the outside slide wiper at the top.
Remove the vertical inside seal.
Remove about a foot of the top seal.
Carefully pull back the wire harness until you have the plug going to the motor. This is where I discovered the purple motor wire was broken.
Pry up on the motor. The motor must separate at the adapter to get it out.
Lift out the motor.
I bought this one to replace the bad one.
236575, RV in-Wall Slide-Out Motor Compatible with Lippert Schwintek in-Wall Slide System, IG-42 10mm motor Assembly, Slide Motor for Travel Trailer and Camper | 300:1 High Torque Gear Ratio, 12V
https://a.co/d/bGtOppE
This motor is better than the original. The moving parts on top are covered so it doesn't rub on the wiring.
Grease the motor shaft before putting it into the adapter. Mine rusted in there and it was very difficult to get them to separate when removing the old motor.
Reassemble everything and test.
The bedroom slide works perfectly now.