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.

Cpanel API Not Returning a Response

Discussion in 'General Discussion' started by rmatakajr, Nov 24, 2013.

  1. rmatakajr

    rmatakajr Member

    Joined:
    Jun 8, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    I have been using the cPanel XMLAPI for over 2 1/2 years now with Hot Gator With no issues
    at all... today it just stoped working for me and many of my customers and im unsure whats
    going on here. Im just not getting a response at all.. but when I call a fuction in the browser
    window like

    Code:
    /http://domain.com:2082/xml-api/cpanel?user=gstrder&cpanel_xmlapi_module=Email&cpanel_xmlapi_func=listpopswithdisk&cpanel_xmlapi_version=2&domain=blah.com
    I get a token not found.. so the API is responding.. the only change was I moved to a server what has
    PHP 5.3.2.7 on it.. where i was on a 5.2.9 - server before.. does anybody have any clues on this?

    My customers are having API issues and hostgator now all of a sudden any help appreciated

    Thanks
    Ricky
     
    #1 rmatakajr, Nov 24, 2013
    Last edited by a moderator: Nov 24, 2013
  2. MikeDVB

    MikeDVB Well-Known Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    212
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Indiana, USA
    I could be wrong but it sounds to me like you need to get a security token before making further API calls and then use that same token for subsequent API calls in the same session.

    Hopefully somebody else that is more familiar with the API will be along shortly to help more.
     
Loading...

Share This Page