Skip to content

--instance flag is returning a "unknown option" error #8275

Open

Description

@mdurfee

[REQUIRED] Environment info

13.32.0

Windows

[REQUIRED] Test case

firebase --project myfirebasetest --instance myfirebasetest-cxid-vor00000 database:remove /DATAB/EXAMPLE
error: unknown option '--instance'

[REQUIRED] Steps to reproduce

When using the --project and --instance flags to perform a bulk data delete

[REQUIRED] Expected behavior

Bulk Data delete for specified instance (shard) completes after warnings are confirmed.

[REQUIRED] Actual behavior

error: unknown option '--instance'

Activity

  1. aalej commented on Mar 3, 2025

    @aalej
    Contributor

    Hey @mdurfee, thanks for reporting this. From what I can gather, this looks like an issue with how the Firebase CLI parses the command options. Re-arranging the command to something like below works:

    firebase database:remove /PATH --project PROJECT_ID --instance INSTANCE
    

    Could you give the above a try to see if this would work?

    It also looks like this behavior started on firebase-tools v13.26.0. I'll check this with our engineering team to get a better idea of what could have cause this.

  2. added a commit that references this issue on Oct 3, 2026
    78965fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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