Missing Username Errors


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

No user name supplied: "username" is a required argument


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


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: May 28, 2024