Hello everyone,
I'm trying to use configuration.export API call, literally pasted from documentation (https://www.zabbix.com/documentation...uration/export) and continously fail.
Request:
{
"jsonrpc": "2.0",
"method": "configuration.export",
"params": {
"options": {
"hosts": [
"10084"
]
},
"format": "xml"
},
"auth": "",
"id": ""
}
Response:
{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Invalid parameter "/options/hosts": an array is expected."},"id":1}
What can be reason for this messages?
The same issue I face for configuration.import.
Zabbix version Zabbix 4.0.0.
I'm trying to use configuration.export API call, literally pasted from documentation (https://www.zabbix.com/documentation...uration/export) and continously fail.
Request:
{
"jsonrpc": "2.0",
"method": "configuration.export",
"params": {
"options": {
"hosts": [
"10084"
]
},
"format": "xml"
},
"auth": "",
"id": ""
}
Response:
{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Invalid parameter "/options/hosts": an array is expected."},"id":1}
What can be reason for this messages?
The same issue I face for configuration.import.
Zabbix version Zabbix 4.0.0.