I don't understand a 500. `500 Internal Server Error` is reserved in case a server process died for unexpected reasons. I'm not absolutely certain in which cases the save can fail, but I assume one case is if a client tries to create two groups with the same name. That case should probably be `409 Conflict` oder a generic `400 Bad Request` since the error is clearly on the clients side.