-
Problem report
-
Resolution: Fixed
-
Trivial
-
None
-
6.4.3
-
None
Hello, when I'm trying to execute host.create method, faced with error: No permissions to referred object or it does not exist!
Full response:
{
"error": {
"code": -32500,
"data": "No permissions to referred object or it does not exist!",
"message": "Application error."
},
"jsonrpc": "2.0",
"id": 1
}
User have Super admin role and full access to hosts and templates:

Request body:
{
"params": {
"host": "hostfqdn",
"inventory_mode": 1,
"proxy_hostid": "10001",
"groups": [
{
"groupid": 123
},
{
"groupid": 345
},
{
"groupid": 678
}
],
"inventory": {
"site_state": "some desc with ascii simbols like привет",
"site_country": "some desc with ascii simbols like привет",
"vendor": "Vendor",
"site_address_a": "some desc with ascii simbols like привет",
"deployment_status": "some desc with ascii simbols like привет",
"contact": "Not defined",
"location_lon": "12.345678",
"serialno_a": "ABC123",
"installer_name": "name",
"location_lat": "12.345678",
"site_zip": "123456",
"site_city": "some desc with ascii simbols like привет",
"model": "Model",
"date_hw_expiry": "2023.07.12 21:41:38 (Created)",
"site_rack": "01A23",
"type_full": "some desc with ascii simbols like привет",
"type": "SOMEDEVICE",
"name": "hostname",
"notes": "",
"url_a": "https://zabbix.com",
"site_notes": "Ìàø.çàë ¹2 Ðÿä F",
"location": "some desc with ascii simbols like привет"
},
"status": 0,
"interfaces": [
{
"details": {
"version": 2,
"community": "{$SNMP_COMMUNITY}"
},
"port": 161,
"ip": "hostip",
"type": 2,
"useip": 1,
"dns": "hostdns",
"main": 1
}
],
"templates": [
10567
],
"name": "hostname"
},
"auth": "blablabla",
"jsonrpc": "2.0",
"id": 1,
"method": "host.create"
}