How to determine the alarm code of Xiaomi Electric Scooter 4 Pro Plus series?

When a flashing red wrench icon appears on the dashboard, it means that the scooter is malfunctioning. When the scooter malfunctions, the speedometer displays a malfunction error code.