maintenance.update API requires active_since parameter

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: 2.2.10
    • Component/s: API (A)
    • None

      Accorting to documentation, maintenance.update can replace hosts or hostgroups.
      https://www.zabbix.com/documentation/2.2/manual/api/reference/maintenance/update

      The API request same as the documentation above fails with this error

      {"message": "Invalid params.", "code": -32602, "data": "\\"Active since\\" must be between 1970.01.01 and 2038.01.18."}
      

            Assignee:
            Unassigned
            Reporter:
            Kodai Terashima
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: