Unable to use login key with WHMCS

dotcomUNDERGROUND

Verified User
Joined
Mar 31, 2022
Messages
9
I have created a login key for admin with all privileges selected.

Over WHMCS I have added the server with admin user and that key.

I was not being able to fetch packages from the server. I looked into module log, and the result was the DA login page.

Then I switched to using admin password and that worked fine. So the issue is not with ip/firewall.

Am I missing anything? How to figure out why loginkey not working while password does?
 
Did you follow this ?

Did you try #4 debug mode.

Is admin the reseller?

API Token Permissions​

With API tokens for DirectAdmin, you can restrict the actions an API token can perform. For these operations, WHMCS requires the following permissions:

CMD_API_PACKAGES_RESELLERCMD_API_PACKAGES_USERCMD_API_ADDITIONAL_DOMAINS
CMD_API_SHOW_ALL_USERSCMD_API_SHOW_USERSCMD_API_SHOW_RESELLERS
CMD_API_DNS_CONTROLCMD_API_DNS_MXCMD_API_FTP
CMD_API_SHOW_USER_CONFIGCMD_API_SYSTEM_INFOCMD_API_SHOW_RESELLER_IPS
CMD_API_ACCOUNT_USERCMD_SELECT_USERSCMD_API_USER_PASSWD
CMD_API_MODIFY_RESELLERCMD_API_MODIFY_USERCMD_API_SHOW_USER_USAGE
CMD_API_RESELLER_STATS
 
Has the key ever worked?

I've spent hours one time trying to debug a similar issue. Turns out I had the key set to expire after a couple of hours.
 
Back
Top