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

Details

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

    Description

      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
      }
      

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: