-
Incident report
-
Resolution: Fixed
-
Minor
-
3.0.3
JSON-RPC support request batching (6. Batch in the specification) and we were using it with Zabbix 2 (2.0.3 exactly) without problems. Since we upgrated to 3.0.3 zabbix returns JSON-rpc version is not specified when we send them.
I didn't see any notes about this behavior in Zabbix documentation, and batching doesn't seem optional in the JSON-RPC specification, did I miss something ?
Request:
[ { "jsonrpc":"2.0", "method":"trigger.get", "auth":"...", "params": { "output":"extend", "expandData":true, "expandDescription":true, "preservekeys":true, "filter":{"triggerid":[]}}, "id":0 } ]
Response:
{ "jsonrpc": "2.0", "error": { "code": -32600, "message": "Invalid Request.", "data": "JSON-rpc version is not specified." }, "id": null }