• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk API - Invalid request after Plesk upgrade

LudovicB

New Pleskian
Hello,

My plesk version was recently updated from 9.0 (probably, i'm not sure) to 9.2. I'm using Plesk API to create clients accounts and domains accounts. 90% of request that were used with the old version of plesk are still functionning, but when I try to add a domain with physical hosting, I get this error : 1014 - Parser error : request is invalid.

Here is my XML code :

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.4.2.0">
<domain>
<add>
<gen_setup>
<name>domainname.ch</name>
<ip_address>94.23.20.150</ip_address>
<status>0</status>
<client_id>34</client_id>
<htype>vrt_hst</htype>
</gen_setup>
<template-name>CJ_Test</template-name>
<hosting>
<vrt_hst>
<ftp_login>domainname.com</ftp_login>
<ftp_password>password</ftp_password>
<ip_address>94.23.20.150</ip_address>
</vrt_hst>
</hosting>
</add>
</domain>
</packet>

Any idea ?? And if I try to remove the "hosting" block and the "htype" line, like this :

<packet version="1.4.2.0">
<domain>
<add>
<gen_setup>
<name>domainname.ch</name>
<ip_address>94.23.20.150</ip_address>
<status>0</status>
<client_id>34</client_id>
</gen_setup>
<template-name>CJ_Test</template-name>
</add>
</domain>
</packet>

Everything works well... but my "hosting" block is exactly like in the doc (http://download1.swsoft.com/Plesk/Plesk8.1/Doc/plesk-8.1-api-rpc/33872.htm)...

Thanx a lot,
Ludovic Barman.
 
Try to use much more fresh Plesk API documentation than mentioned for 8.x versions. You can find it here.
I hope it will help.
 
Back
Top