Skip to content

Cannot delete a collection with firestore:delete due to HTTP Error 429 #7845

Closed
@Desno365

Description

@Desno365

[REQUIRED] Environment info

firebase-tools: 13.22.0

Platform: macOS

[REQUIRED] Test case

When running firebase firestore:delete -r "collectionId" on a very big collection (~100'000 documents) composed of very large documents (~1MB) the command fails.
The error reported is the following:

HTTP Error: 429, This database has exceeded their maximum bandwidth for writes, please retry with exponential backoff.

It becomes impossible to delete the collection.

[REQUIRED] Steps to reproduce

  1. Create a collection composed of many documents (>100'000), where each document has a very large size (~1MB).
  2. Run firebase firestore:delete --debug -r "collectionId"

[REQUIRED] Expected behavior

The expected behavior is that the collection "collectionId" is deleted successfully.

[REQUIRED] Actual behavior

The actual behavior is that the collection is not deleted. At the moment it's impossible to delete the collection.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions