Can you post the results of M122 and M98 P"config.g"?

Please verify that your motor phases are wired correctly.

https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases

Once you have the phases correctly identified if you're still getting the error message they the motor on a different driver to see if the error follows the motors. similarly, try a motor that worked on another driver and try it on the X/Y to see if the error is still present. This will help us determine if it's a driver problem.