incorrect api error message when attempting to create a host

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Blocker
    • 1.8.3
    • Affects Version/s: None
    • Component/s: API (A)
    • None

      sending a host creation request returns an error about user group creation. furthermore, current user actually is zabbix superadmin.

      {"auth":"8b7483a0a94205159da9fa07c67f8740","method":"host.create","id":14,"params":{"groups":[

      {"groupid":1}

      ],"host":"Server 12"},"jsonrpc":"2.0"}

      {"jsonrpc":"2.0","error":

      {"code":-32500,"message":"Application error.","data":"[ CHost::create ] Only Super Admins can add User Groups"}

      ,"id":14}

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

              Created:
              Updated:
              Resolved: