@Dr_Taragon said in G28 Error Homing failed:

M574 Z1 S1 P"null" ; configure active-high endstop for low end on Z via pin null

This probably has something to do with it. Try replacing null with zstop