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

"Undefined index" in API calls without "auth" parameter

XMLWordPrintable

    • Sprint 47, Dec 2018, Sprint 48, Jan 2019
    • 0.125

      Steps to reproduce:

      • send API call through JSON RPC
        {
            "jsonrpc": "2.0",
            "method": "user.login",
            "params": {
                "user": "Admin",
                "password": "zabbix"
            },
            "id": 1
        }
        

      Result:

      Undefined index: auth [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CConfigFile->{closure}() in include/classes/core/CJsonRpc.php:87]

      Expected:
      Code must be executed without PHP errors

            sasha Alexander Vladishev
            sasha Alexander Vladishev
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: