#127652·grafana

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:

Image

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:

  1. Install a datasource plugin.
  2. Create a datasource.
  3. Uninstall the plugin.
  4. 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