Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to Delete a Firestore Database After Cross-Region Restore

Hello Google Cloud community,

I recently encountered an issue while trying to delete a Firestore database, and I'm seeking your assistance in resolving it.

Here's a summary of the situation:

  1. Initially, I deleted a Firestore database.

  2. Subsequently, I created a new Firestore database in a different region.

  3. I attempted to restore data to the new database from a backup, but I encountered difficulties due to the different regions.

  4. Now, I find myself unable to delete the new database, and I receive the following error message: "ERROR: (gcloud.alpha.firestore.databases.delete) FAILED_PRECONDITION: Precondition check failed."

I suspect that the issue might be related to the cross-region restore or some lingering configurations. I'd appreciate any guidance on how to properly delete this database and resolve this issue.

Thank you in advance for your help!

renanpk_0-1695776651364.png