Ad Widget

Collapse

API error -32602 follow upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adg
    Junior Member
    • Sep 2012
    • 17

    #1

    API error -32602 follow upgrade

    Hi,

    We've recently upgraded from 2.0.6 to 2.4.5 and started recieving the following API error:

    API error -32602: The "user.login" method must be called without the "auth" parameter.

    I've found a reference to this in the documentation:

    This method is available to unauthenticated users and should be called without the auth parameter in the JSON-RPC request. Starting from Zabbix 2.4 the method will return an error if the auth parameter is given.

    https://www.zabbix.com/documentation/2.0/manual/appendix/api/user/login?s[]=auth

    I can't find the reference to 'auth' in the code.

    Has anyone else come across similar issues?

    Thanks for your help!
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    What parameters are you used for user.login?
    "auth" parameter is not required for user.login.

    Please try to specify only user and password in the params for user.login.

    Comment

    Working...