How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
Which Nextcloud Version are you currently using: Nextcloud 35.0.0 dev
Is your feature request related to a problem? Please describe.
Yes. Currently, when attempting to create a team using a name with few letters (e.g. "ab"), the frontend only returns generics error messages, like below:

Inspecting the network tab, the actual error can be seen:
// POST ocs/v2.php/apps/circles/circles
{
"ocs": {
"meta": {
"status": "failure",
"statuscode": 400,
"message": "Circle name is too short"
},
"data": []
}
}
Describe the solution you'd like
Would be nice to return a more descriptive message to the user on frontend, so he knows what exactly is going on and what has to be changed.
Additional context
lib/Controller/LocalController::create() is the method reached by POST ocs/v2.php/apps/circles/circles endpoint.
How to use GitHub
Feature request
Which Nextcloud Version are you currently using: Nextcloud 35.0.0 dev
Is your feature request related to a problem? Please describe.

Yes. Currently, when attempting to create a team using a name with few letters (e.g. "ab"), the frontend only returns generics error messages, like below:
Inspecting the network tab, the actual error can be seen:
Describe the solution you'd like
Would be nice to return a more descriptive message to the user on frontend, so he knows what exactly is going on and what has to be changed.
Additional context
lib/Controller/LocalController::create()is the method reached byPOST ocs/v2.php/apps/circles/circlesendpoint.