• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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