We had this happen on our 2015 Electric Pasion Cabrio, we were under three years and the dealer covered it under warranty.
Looking back, we did have a heavy rainstorm, and we did park it under the lip of the garage so the charge cable reached it. I think this caused the infiltration to the point that the (stupid) battery box under the passenger floor filled up with water.
That said, a leak in the convertible roof should not happen, even parked in a large rain event, it did.
We vacuumed out the water, but had errors like "Brake Malfunction" so we had it towed.