The rear hatch will open when I press the button, but it beeps twice when I try to close it and won’t close. If I manually close it, it latches shut, then one second later automatically unlatches. The car is essentially undrivable because it beeps constantly and displays a warning that the rear hatch is ajar. Also, the interior lights won’t turn off when the car is off because it thinks a door is open, so my battery is going to die eventually. I’ve toggled every setting related to the rear door to no avail.

Any ideas?