The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

accountsummary API no longer works?

Discussion in 'General Discussion' started by sparek-3, May 9, 2015.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Making an API call to the server using:

    Code:
    /json-api/accountsummary?api.version=1&user=USER
    on cPanel 11.46

    gives the response:

    Code:
    Array
    (
      [metadata] => Array
      (
      [version] => 1
      [reason] => API failure: Can't use an undefined value as an ARRAY reference at /usr/local/cpanel/Whostmgr/API/1/Accounts.pm line 66.
    
      [result] => 0
      [command] => accountsummary
      )
    
    )
    Same API call works fine on cPanel 11.44 servers.

    Haven't tried it on any other versions of cPanel.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page