How to include molecule template id in restart files

ERROR: Molecule template ID for atom_style template does not exist (src/MOLECULE/atom_vec_template.cpp:60)
Last command: read_restart restart200000
I got the error while restarting my simulation

Not all properties and settings of a simulation are stored in restart files. This includes, for example, potential files, but generally applies to almost anything that is read from a file.

The error message is self-explanatory. You need to repeat the molecule command from the original input before you can read the restart.