Error testing GLPI media type – “SyntaxError: parse error (line 4, end of input)”

XMLWordPrintable

    • Type: Incident report
    • Resolution: Commercial support required
    • Priority: Trivial
    • None
    • Affects Version/s: 7.2.10
    • Component/s: Frontend (F)
    • None

      Hi everyone,

      I'm trying to integrate Zabbix with GLPI using the official "GLPI" media type provided in the Zabbix Git repository (release 7.2). I followed all the steps as documented: imported the YAML file, filled in the required parameters (glpi_app_token, glpi_user_token, glpi_url, etc.), and pasted the script exactly as it appears in the official glpi.js.

      However, when I click "Test" on the media type, I get this error:
       
      {{Test media type failed.
      SyntaxError: parse error (line 4, end of input)}}
      Screenshot with the test parameters is attached.

      Has anyone encountered this error or has an idea what could be causing it? Any help would be greatly appreciated!

        1. okok.png
          okok.png
          60 kB
        2. screenshot-1.png
          screenshot-1.png
          62 kB

            Assignee:
            Zabbix Integration Team
            Reporter:
            Rinaldo Junior
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: