Had the same issue with P0401
Had the same issue with P0401, I cleaned everything, and I too took apart the stepper motor, I am wondering if you got a look of the magnet. My magnet looked like something broken off inside.
Someone also mentioned that the magnet need to be reinstall with the magnet fully screwed in.