Sounds to me that there may be a bent pin (need a fine screwdriver to push it into line) Need a steady hand ..Could also be a fleck of debris masking a pin? Check by blowing into the socket ends, Blow too into the female sockets.
-------------------- History so far.. 9 years surfing & 28 Years Computing (First ZX81 1k)