• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Pleks API problem

B

braidiano

Guest
Hello!

when i try to create a new domain through Plesk API, i receive this error:

Errorcode: 2307
Domain adding was failed. Error: Can`t resolve ID for IP

Plesk 7.5.6 for Windows

this is the XML packet that i send to the server:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<packet version="1.3.5.1">
<domain>
<add>
<gen_setup>
<name>prova.kkk</name>
<client_id>2</client_id>
<htype>vrt_hst</htype>
<ip_address>192.168.0.1</ip_address>
</gen_setup>

<hosting>
<vrt_hst>
<ftp_login>pppp</ftp_login>
<ftp_password>1111111111</ftp_password>
<fp>false</fp>

<php>true</php>
<ssi>true</ssi>
<mod_perl>true</mod_perl>
<mod_python>false</mod_python>
<asp>false</asp>
<coldfusion>false</coldfusion>
<webstat>none</webstat>
<cgi>true</cgi>
<errdocs>true</errdocs>
<at_domains>true</at_domains>
</vrt_hst>
</hosting>

<limits>
<max_subdom>5</max_subdom>
<disk_space>100000000></disk_space>
<max_traffic>5555555</max_traffic>
<max_db>7</max_db>
<max_box>8</max_box>

</limits>

<prefs>
<www>true</www>
<stat_ttl>555</stat_ttl>
</prefs>

<user>
<enabled>true</enabled>
<password>112233</password>
<perms>
<manage_phosting>true</manage_phosting>
<manage_subdomains>true</manage_subdomains>
<manage_log>true</manage_log>
<manage_crontab>true</manage_crontab>
<manage_webapps>true</manage_webapps>
<manage_maillists>true</manage_maillists>
<manage_drweb>true</manage_drweb>
<make_dumps>true</make_dumps>
</perms>
</user>
</add>
</domain>
</packet>


anyone can help me?

Best Regards
Davide
 
hello Ybuts,

thanks for your reply.

i have been installed the latest plesk update and the ip is located in the client ip pool, but the error is the same.....
 
My error (under Windows) was related to a trojan due to Plesk not being up-to-date.

Or it was related to changing the IP address later on.

However a reinstall solved it.
 
Back
Top