Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-2713

incorrect api error message when attempting to create a host

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.8.3
    • None
    • 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}

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

              Created:
              Updated:
              Resolved: