Hello.
I just upgraded Zabbix 6.4 to 7.0 and one thing that I noticed was that I receive error on one of my API calls.
This is one example of what now fails but worked in 6.4
The error that I received is this:
So, the error messages is clear, and if I remove the filter then the call succeed, so my question is how should I use filter in Zabbix 7.0 API calls.
I just upgraded Zabbix 6.4 to 7.0 and one thing that I noticed was that I receive error on one of my API calls.
This is one example of what now fails but worked in 6.4
Code:
{"jsonrpc":"2.0","method":"event.get","params": {"selectHosts": ["host","name"], "objectids": ["24103"], "filter": {"clock": "1714395537"}}, "id": 1}
Code:
"error": {
"code": -32602,
"message": "Invalid params.",
"data": "Invalid parameter \"/filter\": unexpected parameter \"clock\"."
}
Comment