True.....but the guy told you to replace the harness. Thus.....it is electrical if it threw a code.
If the pressure is extremely off at the injector, then it could throw a code but it would have to significantly change the fuel pressure at the pump which isn't too likely. But is a distant...