Please post your config.g and the results of sending M122 and M98 P"config.g" in the gcode console.
Check your wiring for any shorts.
Try a different driver and change your M584 driving binding to suit and see if it follows the motor.
Try a different motor on those drivers giving the error.
When and where did you purchase your Duet?
Which Duet is it?
@judgment_kazzy said in Short-to-ground error:
Using Usongshine 0.9° motors.
Which model number specifically?