I've had to pull out and clean the contacts on the door in question.
Or simply give the wiring harness a push where it goes into the body of the car. Mine doesn't seat well every once in a while.
09 Jetta CleanDiesel M6 Highline
85 325e M5
07 Honda Shadow Spirit 750