Can not create item with api

XMLWordPrintable

    • Type: Incident report
    • Resolution: Cannot Reproduce
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: API (A)
    • None

      Error while creating item with zabbix api
      ('Error -32500: Application error., SQL statement execution has failed "INSERT INTO items (name,delay,type,key_,hostid,value_type,interfaceid,delay_flex,flags,formula,itemid) VALUES (\'url.requests.number[/]\',\'30\',\'2\',\'url.requests.number[/]\',\'hostid\',\'3\',NULL,\'\',\'0\',\'1\',\'value\')". while sending {\'params\':

      {\'name\': \'keyname\', \'delay\': 30, \'type\': 2, \'key_\': \'name\', \'hostid\': \'10210\', \'value_type\': 3, \'applications\': [\'\'], \'interfaceid\': \'\'}

      , \'method\': \'item.create\', \'id\': \'1\', \'jsonrpc\': \'2.0\', \'auth\': \'auth\'}', -32500)

      I see this error only in zabbix 3.2.3, but code it works in zabbix 3.0

            Assignee:
            Unassigned
            Reporter:
            Denis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: