Error 500 is generic and could be indicating an issue with the Wazuh API server. It is possible the service failed to start or was not ready. A review of the full log specifically at the time of the error would help in pinpointing what could have caused the issue. You can check the
API logs.
Also, check manually if both the UI and the API are using the same version.
To check the version of the API, run: /var/ossec/bin/wazuh-control -j info
To check the version of the UI, navigate to Wazuh < Settings < About.
app/wazuh#/settings?tab=about
Also, check the app logs /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log.