Water corroded the wiring connector to my front door drive unit, causing erratic behavior. It would fail to respond when pressing the brake pedal, and it would occasionally (and unpredictably) swing wide and hard, hitting vehicles and obstacles next to me.
If you can, note the date and time your issue occurred and contact support. They may be able to check the vehicle logs for errors.
(In my case, they had to replace the door drive unit, and since then all has been well.)