This error code indicates that the vehicle is running very lean, a lean fuel intake means there is excess air getting in to the system. The on-board computer is unable to compensate affecting the fuel mixture, a common cause is a leaky vacuum leak.
you should find that your fuel usage is very high also.
If you take it to a garage and request a smoke intake test, they should run the test with the vehicle not running the smoke will find its way to the hole or faulty item.
For more information please take a look at some YouTube error codes. here is one example How to Diagnose OBD II Fault Codes P0171 and P0174 Leaking Intake and EGR...
Sounds like you have something blocking the duct internally. Could be a piece of foam insulation that has gotten loose inside the duct and intermittently moves "i.e. when I go a round a corner it get cool for a while" that could cause this. Or one of the blend air doors may have a broken hinge, or broken control motor arm allowing it to swing freely.