Updating host configuration fails on instance with large ID numbers

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.7
    • Component/s: Frontend (F)
    • None
    • Environment:
      Zabbix instance with long history, used to have 2 active zabbix servers in the past, resulting in large IDs.

      Steps to reproduce:
      1. Open a host on the host configuration page
      2. Click on 'Update' button

      Result:
      Dialog remains, host is not updated.

      Network inspector shows a request to zabbix.php?action=validate.api.exists that fails with:

      {"error":{"messages":{"\/validations\/0\/exclude_id":[{"message":"This value is not a valid integer.","level":0}],"\/validations\/1\/exclude_id":[{"message":"This value is not a valid integer.","level":0}],"\/validations\/2\/exclude_id":[{"message":"This value is not a valid integer.","level":0}]}}}
      

      The request contains:

      "exclude_id": "200200000019591"
      

      See attached patch for a proposed fix.

        1. validate-api-fix-exclude-id-type.patch
          0.6 kB
          Kevin Daudt
        2. image-2026-02-16-18-35-54-971.png
          237 kB
          Andrejs Poddubnaks
        3. image-2026-02-16-18-36-52-812.png
          24 kB
          Andrejs Poddubnaks
        4. image-2026-02-16-18-47-33-207.png
          56 kB
          Andrejs Poddubnaks
        5. jsLoader.php
          1.73 MB
          Andrejs Poddubnaks

            Assignee:
            Zabbix Support Team
            Reporter:
            Kevin Daudt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: