Error when changing group name

When wanting to change a group name in Metabase, it appears we can't change the group name if it's just changing the case of letters.

As instance, if I have a group named Test and I want to rename it test, TeSt or TEST, it'll return me an error a group with this name already exists.

To put it in a nutshell, it would suggest that groups' names are registered case-insensitive.

"browser-info": {
"language": "en-US",
"platform": "Linux x86_64",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36",
"vendor": "Google Inc."
"system-info": {
"file.encoding": "UTF-8",
"": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.13+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "",
"java.version": "11.0.13",
"": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.13+8",
"": "Linux",
"os.version": "5.10.93-1-MANJARO",
"user.language": "en",
"user.timezone": "GMT"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "h2",
"application-database-details": {
"database": {
"name": "H2",
"version": "1.4.197 (2018-03-18)"
"jdbc-driver": {
"name": "H2 JDBC Driver",
"version": "1.4.197 (2018-03-18)"
"run-mode": "prod",
"version": {
"date": "2021-12-02",
"tag": "v0.41.3.1",
"branch": "release-x.41.x",
"hash": "20f9097"
"settings": {
"report-timezone": null

Hi @dynnammo
First things first - upgrade immediately to latest release:

Second, don't use H2 as the application database if you are running Metabase in production:

Rename the group to something else, and then rename it back with whichever casing you prefer.

Warm thanks, we'll do it as fast as possible.