Access Denied Errors

Problem

While provisioning an account on a cPanel & WHM server using the cPanel module, you see the following error:

Access Denied/Permission Denied

Cause

An Access Denied error indicates that the cPanel & WHM server denied WHMCS access to perform the requested action (for example, creating an account).

Solution

To resolve this issue:

  1. Go to Configuration () > System Settings > Servers.
  2. Check whether the server settings, including the username and API token, are valid.
  3. Check whether the API credentials for the server have the required permissions to perform the action.
  4. Go to the client’s profile and choose the Products/Services tab.
  5. Check to ensure that the Username and Server values match the account records in cPanel & WHM.
  6. Check whether the user has the required permissions to manage the cPanel hosting account.
  7. Click Test Connection to confirm that the account has access.

Last modified: June 11, 2024