USERNAME_NOT_SET error when creating an user

USERNAME_NOT_SET error when creating an user

Hi,
i am trying to create an email box (i.e. an organization User) through the API https://www.zoho.com/mail/help/api/post-add-user-to-org.html

I get the USERNAME_NOT_SET response error even though i've passed both the primaryEmailAddress and displayName parameters, although the latter is not even required.
Please help me understand the issue, thanks

This is my request and response: 

POST https://mail.zoho.com/api/organization/<MY ZOID>/accounts

Headers:
Content-Type: application/json
Authorization: Zoho-oauthtoken <MY TOKEN>

Request body:
{"primaryEmailAddress":"hi@hi123test.xyz","password":"pwd12T3St!dOfjvdk-ksd28fwG.0|p\/@", "role":"member","displayName":"Test username"}

Response code:
HTTP 500

Response body:
[0, {"msg":"USERNAME_NOT_SET"}]