What is this off a Bmw e46 m3. Also I am having a starting issue problem (already changed starter). I'll tell you the back story leading to the problem
So Friday leaving from work at around 1 o'clock with the weather of 80 degrees. It started sluggish but it end up starting. I drove maybe about 8 miles. Shut off the car. Went to go back to my car all of sudden didn't start at all no crank / just nothing. I had to go on vacation so I let it sat for three days came back on fourth and went to go start the car and it started up with no problems. I thought maybe it's the starter going bad.. So I took apart the intake pipe- intake manifold took out all the hoses got the starter put in the starter and started putting things back together. So finally in the end I went to go start the car. The car started and quickly shut off. I started the car stepped on the gas and it would stay on but it was rough. If I let go of the gas it quickly shut off. I got a code of p0901 and thought maybe because I disconnected the battery maybe the computer is trying to communicate again so I erased the code. After that I got a code of p0174 after letting it sit it disappeared but the car is still acting the same. Idk what I did wrong or what other options I have. I tried looking at the hoses and everything is connected. I clean the maf sensor and still nothing.