Did you open the fuel line from the tank to the primary filter to ensure you are getting fuel to the injection pump?
It is pretty common for something to get in the tank that blocks the fuel flow from the tank to the filter.
Does the pedal sense fuel pressure and therefore show codes when there is low or no pressure?
Just because it throws codes doesn't mean you shouldn't do some basic troubleshooting to find out what may be causing the codes. It is easy to confuse symptoms (codes) with causes.
It is pretty common for something to get in the tank that blocks the fuel flow from the tank to the filter.
Does the pedal sense fuel pressure and therefore show codes when there is low or no pressure?
Just because it throws codes doesn't mean you shouldn't do some basic troubleshooting to find out what may be causing the codes. It is easy to confuse symptoms (codes) with causes.