I'm new here and I need some help with my 2001 Nissan Pathfinder LE. I recently did a bunch on DIY maintenance on my Pathy here's the order I did it in flush ATF, change differential fluid, change transfer case fluid. Then I changed the spark plugs using the guide that was provided here on the forums (great DIY write up btw), also cleaned the throttle body. Everything ran great for 4 days then the SES light lit up. The truck still drives great I don't notice any misfiring or anything.
Today I made sure all vacuum lines are snug and all sensors and coil packs are plugged in properly, then I cleaned the MAF sensor. The SES light was still on so I went to Auto Value to get the SES Code Read and gave me Code: P0505 Idler Air Control Valve. I believe this is the black round sensor with the blue plug below the throttle body that I had to remove when I changed the spark plugs.
I did some reading on this but I'm not sure what exactly to do. My hunch is that I was supposed to do the Accelerator Pedal Released Position Learning, Throttle Valve Closed Position Learning and Idle Air Volume Learning after I reinstalled and connected my IACV when I changed my spark plugs (I also disconnected the negative battery terminal during the process of changing the spark plugs). Right now the engine idles at around 1k rpm at normal operating temperature which I guess is high since it's only supposed to be 750 +/- 50 for A/T models. So I tried doing the manual learning steps according to the service manual but when I get to the Idle Air Volume Learning which is supposed to adjust my idle to the right setting. It doesn't seem to work, when I get to step 7 and as I hold the accelerator pedal for 20 secsonds the MIL or SES light should be blinking but mine doesn't do anything just a solid light throughout the whole process.
Has anyone experienced this and knows how to fix it? I'm thinking maybe the SES needs to be reset first before I do the manual re-learning steps then it will work and SES will not light up after?
Thanks for the help!

