Migration cannot be started: Plesk server by Plesk API: Plesk error [1006]: Access to API is disabled

Created:

2016-12-12 03:44:54 UTC

Modified:

2017-08-08 13:12:55 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Migration cannot be started: Plesk server by Plesk API: Plesk error [1006]: Access to API is disabled

Applicable to:

  • Plesk Onyx for Linux

Symptoms

  • API request to a Plesk server fails with the following error:
    error 1006 Access to API is disabled for 203.0.113.2

    where 203.0.113.2 is the IP address from which an API request is sent.

  • API is enabled in the /usr/local/psa /admin/conf/panel.ini file:

    [api]

    enabled = on
  • Connection to the destination Plesk server using telnet utility is possible.

  • Denied from the networks that are not listed option is selected under Tools & Settings > Restrict Administrative Access > Settings (button) .

Cause

IP address from the error is not added to the list of networks from which login to Plesk with administrator's privileges is allowed on the destination server.

Resolution

Add IP address from the error to the list of networks from which login to Plesk with administrator's privileges is allowed on the destination server under Tools&Settings > Restrict Administrative Access > Add Network .

Additional

#214528085 Not possible to install a certificate: Access to API is disabled for 127.0.0.1
#213916665 Migration to Plesk 12.5 fails: Access to API is disabled
#214527805 Unable to start migration: Failed to connect to target Plesk server by Plesk API Plesk error 1006 Access to API is disabled

Have more questions? Submit a request
Please sign in to leave a comment.