- Plesk for Windows
Unable to create a subscription via API:
<errtext>System user setting was failed. Error: The password should be 4 - 255 characters long and should not contain the username.
Do not use quotes, spaces, and national alphabetic characters in the password.</errtext>
Password in the API request is more than 4 characters:
Tools & Settings > Security Policy is set to Very Weak:
Local Security Policy > Account Policies > Password Policies > Minimum Password Length on Windows is configured to 14 characters:
Password length restricted at the OS level by Local Security Policy.
The fact that the error does not clearly states where the password is restricted has been reported as bug ID #PPPM-10846, which will be fixed in future updates.
Use/generate a password longer than 14 characters in the API call;
- Connect to the server via RDP.
- Go to Local Security Policy > Account Policies > Password Policies > Minimum Password Length on Windows and change it to the required length (e.g 4).