I'm experiencing an issue deleting a team in Grafana

Hello, I am facing a problem in my personal project where I am unable to delete a team in Grafana (it returns http status 500 internal server error). I am provisioning Grafana on an Azure Web App and hosting the volume on a File Share where I access the data via SQLite. Accessing the data database, I noticed that the teams I try to delete and encounter an error are missing their UID in table “teams”. Could someone with a similar setup assist me in determining the appropriate action to take in this situation?