Hello and good day wolfie212. Thank you for reaching out and for the inquiry. ESC error can also be caused by firmware upgrading. If the firmware is updated for both RC and AC and an ESC error appears. Please try to restart your aircraft multiple times to see if the error message would disappear. If the problem persists, I would recommend contacting our support team at https://repair.dji.com/repair/index?site=brandsite&from=nav for a further evaluation of the said unit. Thank you for your support.
I had an ESC error on my P3P, turned out one of the motor wires was not soldered to the board correctly. I re soldered the wire to the board and that fixed the issue. You could check yours but that involves cracking open the shell.