Jump to content

Receiving Error "Error code: 1006. Error message: Permission denied."


Recommended Posts

I have a reseller account [xxx_00000000xx*] on a Plesk server and I'm trying to connect it to my WHMCS instance (hosted inside Plesk), but I am receiving a generic error with the content "Error code: 1006. Error message: Permission denied." when I attempt to sync (fig. 1.1).

WHMCS is able to see how many accounts I have (fig. 1.2) under the Plesk reseller account [xxx_00000000xx], I am able to sync accounts from Plesk to WHMCS (Plesk → WHMCS) and I am able to log in to Plesk via the 'Login to Control Panel' button, but when I attempt to refresh the Plesk data via the 'Refresh' button next to the server name (fig. 1.3) or the 'Refresh All Remote Data' button (fig. 1.4), I receive error code 1006 (fig. 1.1).

I have checked that the Plesk API is enabled (fig. 1.5) and the reseller account [xxx_00000000xx] has access to the Remote API (fig. 1.6).

What am I missing?

Quote

Figure 1.1

Screenshot2024-03-25at12_07_32.png.de941b40306997039b0938e76f204f3c.png

Quote

 

Figure 1.2

Screenshot of WHMCS admin interface showing Plesk server

 

Quote

 

Figure 1.3

Screenshot2024-03-25at12_19_10.png.08f3d6ba8d2055ddf5ee020d0a3c41b0.png

 

Quote

 

Figure 1.4

Screenshot2024-03-25at12_18_14.png.65434415b7676712a12f9377c25d926f.png

 

Quote

 

Figure 1.5

Screenshot2024-03-25at12_25_17.png.75f8fe2fd94147b7804d06044f1cf5cc.png

 

Quote

 

Figure 1.6

Screenshot2024-03-25at12_26_12.png.0b1426585a6e082a3e810a0818df556e.png

 

*Actual Plesk username replaced with a placeholder for privacy

Link to comment
Share on other sites

Regardless of whether your Plesk account shows the API is enabled or not, you will need to reach out to your host and confirm this with them. Also make sure your logins are correct.

 

https://docs.whmcs.com/Plesk#1006_-_Permission_denied

1006 - Permission denied

This indicates that your Plesk login doesn't have the necessary permissions to use the API. You need the server administrator to grant your Plesk reseller account the Ability to use remote API permission.

Edited by leemahoney3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated