I have another possible cause, it once happened to me and what had happened is;-
When the hatchback is open, look near to the catch, you will see some electrical connectors which make contact with similar ones on the hatchback itself.
I had something stopping these making contact and once it had been removed I had no further trouble.
Worth a look!