• 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.

API retrieving Customer unknown error 1060

Nico12

New Pleskian
hi, i try to retrieve a customer over the api. it works if i use the login name for the filter. if i use the "owner-id" i get a error message. i dont really understand the error message and in the api documentation its not documented. the customer exists, i fetched the owner-id over the api.

my request:
<?xml version="1.0" encoding="utf-8"?>
<packet version="1.6.6.0"><customer><get><filter><owner-id>6</owner-id></filter><dataset><gen_info/></dataset></get></customer></packet>

the response (errcode 1060 specified owner can not have sub objects):
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0"><customer><get><result><status>error</status><errcode>1060</errcode><errtext>Specified owner can not have sub objects</errtext><filter-id>6</filter-id></result></get></customer></packet>

OS: Ubuntu 12.04 LTS
Plesk Version: 12

any ideas ?
 
Back
Top