• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Error in AccountWebService.UpdateProfile

W

wiebren

Guest
When I try to update a user via the SOAP API of Sitebuilder 4.1 for linux and I give a value -1 of 0 for listSize I get an error that the value is less then the minimum required value. The API documentation tells me to use a value of "<= 0" to leave the value unchanged:


listSize
New value of the list size. If <=0, then list size stays unchanged.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://swsoft.com/webservices/sb/4.1/AccountService"><SOAP-ENV:Header><ns1:CredentialsSoapHeader><ns1:Login>yourhosting</ns1:Login><ns1:password>jfslkjfLFJlKJFfkJufjoi394</ns1:password></ns1:CredentialsSoapHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:UpdateProfile><username>ernstjan.server32.firstfind.nl</username><accountId>2ac368e7-0fe1-6f01-82ae-5e1ad59f6e53</accountId><themeCode/><languageCode>nl_NL</languageCode><listSize>-1</listSize><templateListSize>-1</templateListSize></ns1:UpdateProfile></SOAP-ENV:Body></SOAP-ENV:Envelope>


<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>ERROR_ACTION_FAILED</faultcode><faultstring>Action
has been failed. The Items per page value is less than the minimum allowed limit of 1.</faultstring><faultactor>yourhosting</faultactor><detail>The
Items per page value is less than the minimum allowed limit of 1.</detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
 
Back
Top