Hi Reza,
It looks like you are having a problem during the interaction with VirusTotal v2 API. Could you please check if your VirusTotal v2 API configuration parameter (API Key) is valid by executing a request on the commandline, for example (https://developers.virustotal.com/v2.0/reference/url-scanl)
curl --request POST \ --url 'https://www.virustotal.com/vtapi/v2/url/scan' \ --data 'apikey=<apikey>' \ --data 'url=https://wazuh.com/'Replace <apikey> with the API Key that is configured in Wazuh.
Let me know how it goes.
Looking forward to your comments
Nico