• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue REST API - Create Customer

gManNAtl

New Pleskian
I am working on an application to utilize the REST API and can't POST to the clients endpoint. I quit with my app and just went to the playground to test and it doesn't work there either. I simply get a 500 error either way. However, in the playground I can see a body message with error 1002 which seems to indicate the user already exists??

I have modified the playground JSON object as it doesn't seem like on a POST I should be passing in an id and guid value. The only required fields per the documentation are name, email, logon, and account type (although it seems password should be required as well). Even after modifying this in every variation I still get the 500 error. I even went into the PSA database to see if the dummy users I was testing with were created, but they were not there or in the gui.

All other endpoints work fine, and I can POST to domains for example with no problems, and all of the GETS work fine (or at least the ones I've tried).

Any help is greatly appreciated.
 
Hi,
I ran into this issue too. For me at least it turns out that the password complexity wasn't high enough when creating a new client. The API doesn't give helpful response. Pretty nasty bug. Hope this helps you!
 
Hello,
Thank you for drawing our attention to it! This improvement was reported as EXTREST-114.
Please try creating customer with more complex password.
 
Back
Top