Mine was the micro switch in the a pillar ,,,,,,set your brake push the switch and push the switch in and out and see if it clicks or moves if so then there's your issue,,,,$75.00 fix at Pelican
And the park brake light on the dash must be lit. There's a switch in the console that controls this and failure of this switch seems to be one of the most common reasons for tops not working.
I have to pull out my oddments tray and jiggle the switch to get it to work occasionally. I have a new switch, just haven't gotten around to installing it yet.