check engine on 2007 Mercedes-Benz C230

recently, the check engine light is on and off. is not time for service yet. what could it be.

Asked by for the 2007 Mercedes-Benz C230
There is a fault registered in the ECM. Your car needs to get a computer diagnostic to see what caused the problem, than it has to be repaired accordingly. After the repair the ECM has to be reset.

1 more answer , 1 more comment
I have had this problem for 3 years. They told me it was my o2 sensors, I replaced them, light still on, I replaced my cat converter, light still on, I replaced my smog pump, light still on, I replaced my diverter valve, light still on, I replaced my muffler, light still on. Then they finally say its my computer $1600 only to be replaced at the dealership!
I assume you also have a 2007 C230.
Your computer should be backed by an 8 years / 80,000 miles federal emission warranty.
Check the warranty info in your booklet. They should replace it for free.