It could be the timing belt or timing chain. The code sets the number of misfires in a given period of time, which can allow it to reset itself after short drives, but you still have to dig into the engine to fingure out what is the real problem.
Which engine is it?
Which engine is it?