V8 with LPG goes from approx. 3000U/min into the emergency run, EPC and ESP lights

Hello, I have a problem with my VW Phaeton (V8 petrol/LPG). Recently I replaced the air mass meters due to an error and then had almost 150km no more problems. Now I have the problem that lights up at about 3000U/min the EPC and ESP lights up and the engine is then in the emergency run. If you evaluate the codes we display the code P0171 (Sytem to Lean Bank 1/2) as well as the code P0121 ( Throttle/ Pedal Position Sensor /Swicht A Circuit Range / Performance). If the scales are driven in the speed range below 3000 rpm, no errors occur. I checked the scales for an leak in the air system and replaced a hose. The pedal was also replaced which led to the scales driving almost 60km error-free until the errors reappeared. Many thanks in advance [From motor talk from the topic ‘EPC light + ESP light goes on at 3000 rpm’.]