This can be resolved by running the following commands on your server (as root):Error retrieving version from Plesk API: PleskAPIInvalidSecretKeyException : key is not found Error retrieving version from Plesk API:
Code: Select all
/usr/local/psa/bin/secret_key --create -ip-address 127.0.0.1 > /etc/magicspam/.secret_key
chown psaadm:psaadm /etc/magicspam/.secret_key
Code: Select all
rm /etc/magicspam/.secret_key
This is caused by the Plesk API authentication key being reset or changed.
In addition, ensure that you have allowed admin interface access from 127.0.0.1.
You can find this in the IP access restriction management menu under Tools & Settings in Plesk.
-- MagicSpam Support Team --