23 is a motor phase fault , a few scenarios are likely.
As mentioned melted bullet connections at the controller or motor cable has cracked/split at the axle exit and two wires are touching.
The latter can happen if the wheel has twisted in the drop outs.
One can check the motor connector is...