Error: A dashboard with the same name in selected folder already exists

I created multiple dashboards in the same folder,And the naming is not duplicated,
However, it keeps reporting errors:

A dashboard with the same name in selected folder already exists

I have found that there may be these two possibilities:

  • A dashboard with the same name in the folder already exists, status=name-exists
  • A dashboard with the same uid already exists, status=name-exists

But I have checked everything and there are no identical ones,Or is the field I checked incorrect?

version: grafana:9.5.3

May I ask what I should do? Thank you.

Machines are correct usually and humans are making mistakes usually (for example they don’t notice non printable characters in dashboard name, …). So “check everything” again. If you thing that you are right, then prove it pls - list all dashboards via API (as admin user) and prove that no existing dashboard name/uid is not the same as dashboard, which you are trying to import.

1 Like

Okay, then I’ll check again,
I would like to confirm with you that the following fields cannot be duplicated:

  "title": "kubernetes平台-生产集群-001",
  "uid": "ed223mvss4rcgb",
  "version": 10,
  "id": 51,

I will use APIs for troubleshooting in the future.