This will give you the code for what the issue was. To me sounds like an issue with the MAF or intake tubing after the maf. You can even shut the light off with the procedure. Let us know what you find.already done
See that pic should be post in the how to section. I know I didn't write it but it's straight from nissan.