What you describe sounds like a serious technical issue to me that falls under warranty, but how to react on that is depending in what country you live and what level of consumer protection you have there.
Most probably in any country it would be a bad move to try to repair it by yourself or take it to an unauthorized shop. If you want the scooter to be repaired under warranty you have to follow the regulations which unfortunately could take quite a long time.
In the EU the dealer is responsible for selling equipment that works according to specs, so he is your first and only adressee. If the scooter is not working as specified the dealer did not uphold his part of the sales contract. According to EU regulations valid since beginning of 2022, in the first 12 months after sale any defect is deemed to originate from a faulty product. The dealer must repair or substitute with a working product or positively prove that the fault is in the buyer's responsibility. If seller cannot repair (he is entitled to three repair attempts) or substitute the buyer can give the faulty product back, being rewarded the original sales price minus a fee for use up to that point.
Under that particular law I could give back my Zero SR/F with a faulty battery which Zero was unable or unwilling to substitute.
If the dealer is uncooperative, consider getting a laywer involved. It is important to document the faults by logs, pictures etc.
Alternatively if there is something like a consumer protection organisation in your country, contact them to get help.