Report as inappropriate

First thing you can try is remove G5, or G6 in the beginning start code. This is the power failure resume option, remove it disables that option, and if your prints do finish, then it is a power supply problem.

If that does work, try measuring the voltage output of the hot end, and monitor it while it is printing. It’s a bit tricky, but you’ll need to find a two conductor wire and connect that to the hot end terminal on the main board, and then use a multimeter to read the voltage as it prints. If it fluctuates, you have a bad board. You are getting the cold extrusion error for both right?