The error message appears starting with Resilio Connect v3.4.0.
The two profile parameters - Network policy and Allowed peers - both shape connections topology for the agents in a job. If used together in a single job, they are mutually exclusive and only Network policy will be applied.
The error message is cleared automatically when one of the parameters is removed from the profile, and the other is thus applied accordingly.