Cant Genererate API Tokens in cpanel

hmaddy

Well-Known Member
May 6, 2020
382
39
28
Chennai
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.
 

SamuelM

Technical Analyst Team Lead
Nov 20, 2019
196
41
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.