Skip to main content

WHMCS Access Denied cPanel API Access

Comments

6 comments

  • aloglol
    {"cpanelresult":{"apiversion":"2","error":"Access denied","data":{"reason":"Access denied","result":"0"},"type":"text"}} This is the error.
    0
  • cPRex Jurassic Moderator
    Hey there! This might be a better question for WHMCS to see what permissions are required. If your WHMCS license is purchased through cPanel, you're always welcome to submit a ticket to our team and we can look into this further and then escalate to WHMCS as necessary.
    0
  • aloglol
    Hey there! This might be a better question for WHMCS to see what permissions are required. If your WHMCS license is purchased through cPanel, you're always welcome to submit a ticket to our team and we can look into this further and then escalate to WHMCS as necessary.

    Thank you for your quick response. I have been in touch with WHMCS and the only thing they had said was to put right correct permissions on reseller user which it is set to correct ones from the start. They had also told me to edit /etc/host.allow file to add IP address of the WHMCS. Could you recommend something in order to fix this and also how would I allow IP of the WHMCS server in "host.allow'
    0
  • quietFinn
    Go to WHMCS Admin -> System settings -> Servers, select the server is question and click "Edit", then in Server Details click "Test Connection" does it say "Connection successful"?
    0
  • aloglol
    Go to WHMCS Admin -> System settings -> Servers, select the server is question and click "Edit", then in Server Details click "Test Connection" does it say "Connection successful"?

    Thank you for the response. It doesn't even let me connect to the server. When I go to add the server with "Hostname", "IP", "username", "password" it say's "Access Denied" and when using just "API" key it says "Permission Denied". All IP's have been whitelisted and correct ACL have been set as well for it to work but it's not working.
    0
  • cPRex Jurassic Moderator
    The WHM >> Host Access Control interface provides a graphical tool that edits the /etc/hosts.allow file for you. If you have any custom rules there, those cou ld be interfering with the access.
    0

Please sign in to leave a comment.