Likely wires are cut at the junction between the body and the hatch. Pull back the rubber on the right side, top of the hatch opening and inspect the wires. More than likely you have a cut wire from opening and closing the hatch, they ALL do it.
If that does not solve it, I take it you played with the actual latch white plastic lever? Is it stiff or does it move freely? If there is resistance, it is not broken and I'm not sure where the problem is. If it moves freely, then you need to break out a screwdriver and play with the latch until you can open it. When you have it appart, you'll see its a simple device.