• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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