There's 3 flex connections that usually deteriorate. You can clean up the old and replace with a rubber band cut to fit or something simular.
I'm gonna give up on trying to post a pic, but the connections are easy to spot under the top cover. The original green rubber turns to mush and causes intermittant connection.
fyi, when checking the camera, the top cover has to be installed for the shutter to work correctly.