Check engine light stays on, but car rides and operated fine??????? not gas cap on 2007 Chevrolet Cobalt

I've checked the gas cap, air filter, and coolant levels. All of these are fine, so could it be from gasoline with a high level or grade of octane?

1 answer
Auto Zone free code check might help