TypeError
and Could not fetch data for this agent
messages found after using the API Console
#6211
Labels
TypeError
and Could not fetch data for this agent
messages found after using the API Console
#6211
Description
After making some requests in the WUI using the API Console tool, an error was obtained when "navigating back" indicating a TypeError
https://192.168.57.19/app/wazuh#/agents?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-24h,to:now))&_a=(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(language:kuery,query:''),sort:!())
When trying to reproduce it, this other behavior was found:
Could not fetch data for this agent.
Preconditions
Steps to reproduce
Wazuh -> Agents -> Most active agent
Wazuh -> Tools -> API Console
GET /agents?_
and click on RunCould not fetch data for this agent
appearedExpected Result
Actual Result
Screenshots
https://192.168.57.19/app/wazuh#/agents?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-24h,to:now))&_a=(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(language:kuery,query:''),sort:!())
https://192.168.57.19/app/wazuh#/agents?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-24h,to:now))&tabView=panels&tab=welcome
Additional context
I have not been able to reproduce the TypeError, but I think it is produced for some wrong API Console input
Maybe related: #4104 (note: this issue does not report an error in red)
Maybe related: #5332
Could not fetch...
message appearsTypeError
message appearsThe text was updated successfully, but these errors were encountered: