This exact thing happened to me. Apparently you can’t just order a new magnet, and you have to replace the whole sidestand. I believe I was one of the first, if not the first for this to happen to. It took about 3 weeks in the shop trying to figure out how to fix it and what parts needed replaced. I wanted to string Husqvarna up at the end of the whole thing. It sucks buying a brand new bike only to have something this stupid go wrong and there’s nothing you can do about it. Luckily when it happened to me I was able to call for help, but that doesn’t make me feel any better about the situation knowing it happened to another person.
They needed to at least have a manual override to the system. I can see killing the engine, but I should be able to say that I understand it’s an issue and continue on my way. It would have been bad if you didn’t find the part and got stranded that far away from anyone.
Note: I have the 401, so that problem persists across models.