• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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