Data sources: Unable to delete data source of an uninstalled plugin
Author: andresmgotCreated Jul 1, 2026Updated Sep 28, 2026
Labelsinternal
What happened?
When you try to open a data source from an uninstalled plugin, you get this page, which doesn't allow you to delete the data source:
What did you expect to happen?
To be able to at least delete the data source.
Did this work before?
Yes, this is only happening using the feature toggle datasources.config.ui.useNewDatasourceCRUDAPIs.
The problem is that there is no API group for a plugin that is not installed so the datasource DELETE endpoint within /apis doesn't exist.
How do we reproduce it?
In prod:
- Install a datasource plugin.
- Create a datasource.
- Uninstall the plugin.
- Go to the datasource page created in 2.
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: OS: Browser:
Grafana platform?
I use Grafana Cloud
Datasource(s)?
No response
Source: grafana/grafana