Wazuh API error: ERR_BAD_RESPONSE - Wazuh Internal Error

59 views
Skip to first unread message

Gokul Suresh

unread,
Mar 20, 2025, 6:37:53 AMMar 20
to Wazuh | Mailing List
Hi team,

I am using wazuh 4.7
I am facing the given error while adding rules

AxiosError
Wazuh API error: ERR_BAD_RESPONSE - Wazuh Internal Error

Details:
AxiosError: Wazuh API error: ERR_BAD_RESPONSE - Wazuh Internal Error at settle
(https://xxxxx.xxxxx.xx:xxxxx/bundles/plugin/wazuh/wazuh.plugin.js:8:xxxx)
at XMLHttpRequest.onloadend
(https://xxxxx.xxxxx.xx:xxxx/bundles/plugin/wazuh/wazuh.plugin.js:xxxx)

I would like to know the reason behind this error and how to fix this.


Stuti Gupta

unread,
Mar 20, 2025, 6:57:09 AMMar 20
to Wazuh | Mailing List
Hi  Gokul 

Can you please share the rule that you have added? Also please make sure you add the rule in the custom rule file. you can refer to the image attached
Screenshot_12.png

Additionally before adding the rule please restart the wazuh-manager and see if you are still facing the same error 

Let me know if you need any further assistance!

Gokul Suresh

unread,
Mar 20, 2025, 9:26:08 AMMar 20
to Wazuh | Mailing List
Hi Stuti,
Thanks for your quick response.
We have  custom rule which was working properly, but if we try make any changes to the rule even if it is adding a space or making a change by just an enter
the given error appears. 
So can I know the reason for this error and its fix.

Stuti Gupta

unread,
Mar 24, 2025, 11:50:22 PMMar 24
to Wazuh | Mailing List

Can you please share the custom rule file that you are editing as asked before 
Also please let us know your current wazuh-version.
Reply all
Reply to author
Forward
0 new messages