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

Invalid parameter \"/1/hosts/1\": an array is expected.

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 6.2 (plan)
    • 6.0.0
    • Documentation (D)
    • None
    • centos
    • 0.1

      Steps to reproduce:

      1. send the following payload to the api
         {
            "jsonrpc": "2.0",
             "method": "proxy.update",
             "params": {     
               "proxyid": "33520",
               "hosts": [ "13465"]
            },
          "id": 1,
          "auth": "{{auth}}"
         }
        

      Result:

      {
          "jsonrpc": "2.0",
          "error": {
              "code": -32602,
              "message": "Invalid params.",
              "data": "Invalid parameter \"/1/hosts/1\": an array is expected."
          },
          "id": 1
      }
      

       

            mgeneralova Marina Generalova
            bunkzilla bunkzilla
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: