Check the motor 1st, then work your way back.
If motor ok ,see if you have power (12 v) at the wires you plugged in to your motor.
There are 2 limit switches per side When fully open , or fully closed a small round "push button" is depressed thereby opening the circuit to your motor and stopping it
Under driver's side fender are 4 relays. 2 for the right,2 for the left.
If one side is working and not the other sounds like you are getting power TO the relays.
If your motor works on the bench test, see if you have power to and from the limit switches.
Search around on the site ,I think somebody downloaded the 67 hideaway headlight wiring schematic/instructions.
Mines in my build book, and a buddy has it.
If you run in to a dead-end , reply, and I'll scan and post it---steve