Error while accessing Plesk from WHMCS via API

Are you getting an error while accessing Plesk from WHMCS via API: Customer with external id ‘whmcs_plesk_XX’ is not found in panel?

This tutorial will help you to solve the issue.

Let’s get started.

The error says that the external ID the WHMCS is looking for cannot find in the Plesk database.

So let’s add external ID into Plesk’s database manually.

1. Log in to the Plesk server via SSH
2. Create a backup of psa database using following command:

# plesk db dump > psa.current.sql

3. Access Plesk database from command line:

# plesk db

4. Now, update the following value:

# mysql> update clients set external_id=’whmcs_plesk_XX’ where login=’johndoe’;

whmcs_plesk_XX – should be replaced with ID from the error
johndoe – should be replaced with login of the customer affected by the issue.

That’s it. We’ve successfully solved error while accessing Plesk from WHMCS via API: Customer with external id ‘whmcs_plesk_XX’ is not found in panel.

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat