Do you have the diagnostic info to trouble shoot the codes? They should be checked in the right order. Either fuel, oil, or tranny related codes are to be fixed first. Then codes cleared and retested. Some codes are caused by the malfunction itself and are false--"ghost" codes.
is really just dumb, or it would be capable of isolating the exact failure. It needs a human to figure out the real problem.
As Tom said, make sure that sensor is plugged in.