Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

API access denied cPanel

Discussion in 'cPanel Developers' started by gildas, Feb 7, 2018.

  1. gildas

    gildas Active Member

    Joined:
    Mar 30, 2017
    Messages:
    37
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Paris
    cPanel Access Level:
    Root Administrator
    Hello,

    since the update of my CPANEL to version 68.0.28, the connection via API no longer works.
    The process of an account via the API returns an error:
    [cpanelresult] => stdClass Object
    (
    [apiversion] => 2
    [error] => Access denied
    [data] => stdClass Object
    (
    [reason] => Access denied
    [result] => 0

    Do you know where this concern might come from? and how to solve it?
    no changes on the API key were made on the script or the CPANEL

    Best Regards,
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Did you try changing the API key and incorporating it again in your script?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    258
    Likes Received:
    29
    Trophy Points:
    103
    Location:
    America
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice