Throttle body closes by itself

Hello, I’m new to the whole ECU tech scene and I recently bought a BMW 2002 project that uses a BMW m10 engine with a older EMU unit with a DBW module, the car uses an E46 throttle body. The engine runs as it should but when the throttle is pressed the throttle opens to the correct amount, but immediately closes itself back to idle. I can monitor the tps from both the pedal and from the throttle body itself. For example when the throttle is pressed to 100%, the tps registers 100% from the pedal as well as to the throttle body, but then immediately the throttle body tps goes to 4% and the throttle body closes. The voltage to the throttle body stays consistent at around 4.8 Volts at full throttle. What could be causing an issue like this, I have messed with grounds and it does not seem to make a difference, is there some sort of a failsafe that activates for some reason, or could some component be faulty? Thanks in advance!k