What could be a possible cause of a check engine lamp in a mazda 2 2011? on 2011 Mazda Mazda2

I have a Mazda 2 2011
Model : DEJFS (Skyactiv istop)
Milage 7000

A few days back the engine check lamp came ON and still persists.

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
2 answers 1 comment
need to be scanned for error code, go to your local auto zone for check engine diagnose test.
OBD scanner says "system too lean"
error P0171
poss convered under your normally warranty or your emission warranty of 8yr 80k miles