Error 21 on the KM5S means “Current abnormality.” Most likely cause: a damaged or wet motor cable, or a motor working too hard. Try this first: turn it off and on again.
The controller limits how much current flows to the motor. This code means it saw something unusual: a spike, a short in the motor wiring, or a motor working far too hard. Damaged motor cables, wet connectors and dragging wheels are common causes. Sometimes it's an internal controller fault.
Step-by-step checklist
Work from the top. Steps go from free and easy to shop jobs. Switch the bike off before touching any connector. Tick each step as you go. Your progress is saved on this device.
Parts you might need
As an Amazon Associate I earn from qualifying purchases. These links go straight to Amazon.
Only buy a part if the free steps didn't fix it. Always match the voltage and connector type to your bike.
Electrical contact cleaner spray
Cleans dirt and corrosion from connector pins and battery contacts.
Link coming soon
Dielectric grease
A thin coat on connector seals helps keep water out after you clean them.
Link coming soon
Motor extension cable
Replaces a damaged section of motor cable. Must match your connector and pin count.
When it's time for a shop: if you've worked through every step and the problem is still there, take the bike to an e-bike shop. Bring your notes on when it happens, plus the code.