Q: i have a check engine light on

asked by on September 28, 2016

i took my car to get the check engine checked and they gave me codes p0012 and p0171. i took my car to my mechanic because i recently got my engine fixed and i took it to fix the air leak. but now idk about the camshaft if i need to replace it or something else

My car has 121000 miles.
My car has an automatic transmission.

Hello there, thank you for asking about your 2004 Toyota Camry. Code P0012 relates to the camshaft position sensor which monitors the speed of the camshaft and relays this information to your car’s computer, which helps to control ignition timing and fuel injection pulse. Code P0171 relates to a lean air/fuel mixture which can be caused by a number of things such as:

  • Intake air leaks
  • Faulty front heated oxygen sensor
  • Ignition misfiring
  • Faulty fuel injectors
  • Exhaust gas leaks
  • Incorrect fuel pressure
  • Lack of fuel
  • Faulty Mass Air Flow (MAF) sensor
  • Incorrect Positive Crankcase Ventilation (PCV) hose connection

I would recommend having an expert from YourMechanic come to your home to diagnose your codes](https://www.yourmechanic.com/services/check-engine-light-is-on-inspection) and replace the camshaft position sensor if needed.

The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing


Experienced Mechanic?

Earn up to $70/hr

What others are asking

Have to crank the engine a few times to get it to start.
Engine temperature can significantly affect vehicle components - especially electronics. An engine that won't start when hot usually indicates a problem in one of the vehicle's many circuits. Heat can cause thermal expansion and contraction, as well as increased electrical...
What does the door open Warning Light mean?
The door open Warning Light is located on the instrument panel. When one or more of the doors is not entirely closed, then the door open Warning Light will turn on. When the vehicle is in motion and one of...
How do I turn off the traction control and vehicle stability control (VSC)?
The traction control and vehicle stability control (VSC) are key safety features that help your car safely drive in poor weather. However, in select circumstances (such as when you are stuck in the mud or snow), the traction control and...
How do I view the MyKey Distance feature?
The MyKey Distance feature tells you exactly how many miles your car has traveled with the MyKey. To view this feature, follow these quick steps: 1. Press the Up/Down buttons on the steering wheel until Information is displayed on the...
No brakes when starting
Hey there, there are several possibilities for this to occur on your 2008 Pontiac Solstice. In this case, it sounds like there could be moisture building up in the lines or a leak causing air to enter the hydraulic braking...
Fail safe mode
Hi there. When a car runs out of gasoline, it can cause serious damage to the fuel pump and other fuel system components. If you're able to start your car but it quickly dies, it is likely that the fuel...
9 codes at onece
Hello there. Typically when an engine runs rough when it's cold, it tends to be due to a problem with the fuel to air ratio not being corrected and fine-tuned by sensors. The OBD-II trouble codes you've posted seem to...
Is it a bad idea for a teen to buy a 2002 bmw 325i with 90k miles on it?
Hi Dane. First off, I compliment you on reaching out to us and asking a professional opinion on these cars. I have a 2009 BMW 128i that I am very happy with at 109,000 miles. However, I have had this...
Auto/Emergency Locking Retractors not locking on 3rd row 2011 Tahoe. How to fix?
These (seat belt assemblies) are not repairable, or serviceable units, and must be replaced by OEM dealer supplied parts if faulty. However, these systems are very robust and thus it is not likely at all that the seat belts are...

Related articles

P0203 OBD-II Trouble Code: Injector Circuit Malfunction - Cylinder 3
P0203 code definition P0203 is a general OBD2 code that points to a fault in the injector circuit. Note: This code is...
P0321 OBD-II Trouble Code: Ignition/Distributor Engine Speed Input Circuit Range/Performance
P0321 P0321 code definition Ignition/Distributor Engine Speed Input Circuit Range/Performance What the P0321 code means P0321 is an OBD-II generic code that the engine control module (ECM) detected the engine speed input sensor circuit out of range or its performance...
P0616 OBD-II Trouble Code: Starter Relay Circuit
P0616 means there is an abnormal reading from the starter relay circuit often due too a faulty ignition switch or blown fuse.