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

API Authentication Failure with User and Password

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Won't fix
    • 6.4.0beta5
    • None
    • API (A)
    • Ubuntu Server 22.10

    Description

      Steps to reproduce:

      1. Upgraded from 6.4.0beta4 to 6.4.0beta5
      2. Issue example curl request in https://www.zabbix.com/documentation/devel/en/manual/api
      curl --request POST \  --url 'https://company.com/zabbix/ui/api_jsonrpc.php' \  --header 'Content-Type: application/json-rpc' \  --data '{"jsonrpc":"2.0","method":"apiinfo.version","id":1,"params":{}}' 

      Result:

      {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Invalid parameter \"/\": unexpected parameter \"user\"."},"id":1} 

      Expected:

      {    "jsonrpc": "2.0",    "result": "0424bd59b807674191e7d77572075f33",    "id": 1} 

      I believe this was working prior to the upgrade. I have tested removing symbols from the password so  don't think that is the issue. Password is 25 characters in length.

      Attachments

        Activity

          People

            zabbix.support Zabbix Support Team
            Nicholas.Clark13 Nicholas Clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: