Hello Diwahar,
We have encountered similar errors in versions prior to 4.14.0 when real-time FIM was configured using agent group configuration.
We have added the fix in 4.14.0. So if you upgrade your agents to 4.14.0 or above, this should resolve the issue. If you decide to upgrade, keep in mind that the agent version should be the same or lower than the manager version.
You can read more about this in this GitHub issue.
https://github.com/wazuh/wazuh/issues/32614
If you have an older version of the agent, you can configure the FIM configuration in the endpoint’s ossec.conf
Let me know if you need any further information on this.