What type of hitch? Most of the time if the hitch does not latch it is due to the jaws not being complety engaged or in a bind.
If you are connecting up, I'd reverse what you've done, pull away and start over. You may be high hitched or off side to side.
When you connect, are you following the manufacturer's instructions? Most have you starting off with the jaws open and the kingpin about an inch below the platform?
Jim
2003 GMC 3500 crew dually. Transfer Flow 50g aux tank; ISSPRO gauges, PPE boost valve, air box mods, stock exhaust w/o muffler, Line-X, Pace Edwards bed locker power tonneau. B&W Companion. Pulls a '05 Wildcat 31QBH 5th wheel