Unable to create new user type

I get this error


After following this guide and saving
https://docs.erpnext.com/docs/v14/user/manual/en/setting-up/users-and-permissions/limited-user

Developer mode is on and I don’t see any mention of modifying a config file in that link

Hi,

In you Site_config.json file add the limit:

{
 "db_name": "xxxxxxxxxxxxxxxx",
 "db_password": "xxxxxxxxxxxxxxxx",
 "db_type": "mariadb",
 "developer_mode": 1,
 "encryption_key": "xxxxxxxxxxxxxxxx",
 "user_type_doctype_limit": {
  "employee_self_service": 20
 }
}

Hope this will help you out.

Thank you.

Thanks! It did help me out!