Im having a similar issue. Im rewiring a ebike controller and my dumb self assumed i didnt need a few of the wires, so i desoldered them from the controller...(one wire i took out labeled "electric door lock - must be connected).
I swore i took pics of the wire removals just in case i needed to...