Username Required Errors

Problem

While provisioning an account on a Plesk server using the Plesk module, you see the following error:

Unable to create account in Panel. The field 'username' is required.

Cause

This error indicates that the username under the client’s profile’s Products/Services tab is empty.

Solution

Enter a username, save the changes, and then run the Create command again.

To prevent this issue in the future, make sure to check Require Domains for the product at Configuration () > System Settings > Products/Services.

Last modified: June 14, 2024