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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

API access denied cPanel

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

  1. gildas

    gildas Member

    Joined:
    Mar 30, 2017
    Messages:
    18
    Likes Received:
    2
    Trophy Points:
    3
    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,678
    Likes Received:
    73
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Did you try changing the API key and incorporating it again in your script?
     
  3. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    27
    Trophy Points:
    103
    Location:
    America
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page