According to a manual that I found online
here error 36 suggests a problem with the 'button' circuit:
36 Detection circuit for button is fault
Not sure whether this is the power button on the bike frame, or the buttons connected to the display. I think I'd try to eliminate the latter first by ensuring that the connector between the display and the buttons (i.e. the ones you use to control the assistance level) is dry and correctly inserted. Those connectors can be a bit of a pig, and always need pushing in further than you think.
Failing that, if it relates to the power button on your frame then there are definitely instructions on here relating to running the bike without it. It is seen by many as an unnecessary point of failure, and seem to be the thing that's most affected by water ingress. Make sure you point a hairdryer inside the top part of the frame where the button is to ensure this area is well dried out - doing this was the thing that fixed my bike. I even have a 'special' hairdryer now that I use exclusively to dry this area, and the are by the battery contacts, whenever I wash my bike.
Hope this helps, I know well the stress caused by these things breaking!