Cant Genererate API Tokens in cpanel

anoopk350

Well-Known Member
May 6, 2020
73
9
8
Kochi
cPanel Access Level
Root Administrator
i cant generate API Tokens via cpanel.

Error: The API request failed with the following error: 500 - Internal Server Error.
 

cPSamuelM

Technical Analyst Team Lead
Staff member
Nov 20, 2019
196
37
103
USA
cPanel Access Level
Root Administrator
Hello @anoopk350

Thank you for contacting cPanel! I am sorry to see that you are receiving an error message when you attempt to generate an API token. This error message is sometimes associated with an invalid license file. To ensure that your server is synchronized with the cPanel licensing system, please run the following command:

Code:
/usr/local/cpanel/cpkeyclt

You may also find additional details about the error in the cPanel error log which is found in the following path:

Code:
/usr/local/cpanel/logs/error_log

If the problem persists please submit a ticket using the link in my signature so that we can help you address the issue.

Best regards.