Grafana - How to handle "dashboard with same UID already exists" error?

Hi! Regarding dashboard provisioning… I was expecting if I grab a dashboard from my instance and put it in the provisioning directory it would overwrite the existing dashboard.
> If the dashboard in the JSON file contains an UID, Grafana forces insert/update on that UID. This allows you to migrate dashboards between Grafana instances and provisioning Grafana from configuration without breaking the URLs given because the new dashboard URL uses the UID as identifier.
However I get the following error:
msg="failed to save dashboard" error="A dashboard with the same uid already exists"
Any recommendations on how to deal with this?