Jump to content

Module Command Error Hook denied creation of account: Invalid username


Recommended Posts



I'm running a test run on my WHMCS/WHM setup and I've run into an error when autosetup for my test account receives the payment, but for some reason I click the "Create" button on the Module Commands line, I get this error message:


"Module Command Error Hook denied creation of account: Invalid username"


I've tried changing the default username on the test clients account from admin to test-admin to see if that was the problem, but I still got the error message. This just for the hosting, not the domain name (I'll test that once I resolve the hosting set up).


Does anyone have any insight as to what the problem could be? I've looked through the documentation and was not able to find any info for this particular error message.


Thanks in advance!

Link to comment
Share on other sites

  • 8 years later...

Hello can any one guid me why am i getting this error while creating a hosting for a domain as this is my first time encountering this error.


Hook denied creation of account: ERROR: Cannot add domain/subdomain - restricted.


dont know what to do.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated