Check engine light and codes p0171 and p0174
Hi i recently became the owner of a 2006 ml350, it has about 67000 miles on it and almost right after i started driving the car the check engine light came on, it seemed like it was within 15 mins of getting gas and i thought maybe it was because the gas cap wasnt on tight so i left it alone and it has since been about ten days and its still there and ive refilled the tank. Then yesterday i took it to a shop where they pulled the codes and they got p0171 and p0174. Then they changed the oil and oil filter because that service was due and sent me on my way and i suppose they just cleared the codes, within an hour of driving it returned so after looking it seems to most likely be the mass air flow sensor or the o2 sensors? it seems like the car is driving fine, maybe a little jerk in the transmission but maybe im being overly sensitive, also over the last 500 miles ive only gotten about 15 mpg. Any ideas on what could be wrong and how serious it is would be very helpful! also the seatbelt light seems to randomly come on in the passenger seat without anyone present although i dont think thats related or a big deal. Thanks!