• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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