Ninebot Max Error Code 51

"Built-in battery temperature sensor error, please replace battery"
Read below if your Ninebot Max G30 or G2 is beeping or has a red wrench icon and flashes this code.
If you clicked the wrong error code, return to the Max G30 and G2 Error Code Index.
Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".
Next: Fix Ninebot Max Error Code 52
Cause
Fix
Restart the scooter.