Product Attribute Errors

Problem

You have at least one cPanel & WHM server and see the following error in an email, at Utilities > Module Queue, or in the Activity Log at Configuration () > System Logs:

Product attribute Package Name XXX not found on server

Cause

This error may occur if, for example:

  • There are insufficient resources to create an account with this package.
  • You have entered a package name in WHMCS incorrectly.
  • An API token has insufficient permissions.

Troubleshooting

To troubleshoot this issue, check for resource issues, check the package name, and check your API token permissions.

Insufficient Resources

The cPanel module can only provision accounts if your account has the necessary resources for the selected package.

To confirm whether the server has sufficient resources:

  1. Log in to WHM.
  2. Go to WHM » Account Functions » Create New Account.
  3. For Choose a Package, ensure that the package does not include a (Cannot use due to limits) message.
    Package limit warnings in WHM
    Packages that display this message do not have sufficient resources due to your hosting provider’s limits.

Solution

If your desired package appears with a (Cannot use due to limits) message, update the package to comply with your reseller account’s limits.

For more information about these limits, contact your hosting provider or system administrator.

Incorrect Package Name

To confirm whether an incorrect package name is the issue and resolve it:

  1. Log in to your WHM account.
  2. Go to WHM » Packages » Edit a Package.
  3. Copy the package name exactly from Package Name.
    Package Name in WHM
  4. Log in to the WHMCS Admin Area.
  5. Go to Configuration () > System Settings > Products/Services.
  6. Edit the desired product.
  7. Choose the Module Settings tab.
  8. Click Switch to Advanced Mode.
  9. Paste the package name into WHM Package Name.
  10. Click Save Changes.

Insufficient API Token Permissions

The API token that you use to connect WHMCS to the cPanel & WHM server must have sufficient permissions.

To grant these permissions:

  1. Log in to WHM.
  2. Go to WHM » Development » Manage API Tokens.
  3. Click Edit for the desired API token.
  4. Select all of the required API permissions, including the list-pkgs permission.
    Package Name in WHM
    For more information about the required permissions, see cPanel.
  5. Click Save.

Last modified: June 14, 2024