I have done the suggested checks and cleaned the MAF with contact cleaner.
Now runs more smoothly but still showing same error. This happens miles after the engine reaches operating temperature.
I haven't found any leaking air pipes so far. Is there anything that is temperature sensitive?