pair_coeff error cpp:52

My problem is
The program encountered this problem while reading the potential.
ERROR: Incorrect args for pair coefficients (…/pair_eam_fs.cpp:52)

I have also found many articles on the Internet and I don’t know how to solve them.
My atomic model is my own.
Because ovito is readable, I don’t know if it’s a model problem.
I hope everyone can help me.

Following my script

units metal
dimension 3
boundary f f f
atom_style atomic

log lookme.log

#atom definition

lattice bcc 3.722

region top block INF INF 67 73 INF INF units box
region down block INF INF 0 5 INF INF units box

group top region top
group down region down
group fixdlayer union top down


pair_style eam/fs
pair_coeff ** FeP_mm.eam.fs P (23.1 KB)

Your pair_coeff command looks right on the screen.
It should have 4 args after the pair_coeff. That is
what the error message is testing. If you’re missing
a space, or there is some other odd character
(e.g. due to it being a DOS file) then that could
cause the problem.

Also verify that read_data is printing out you
have 1 atom type (that’s what the data file says).