Skip to content

Deploy not resolving project correctly in 15.5.0 #9844

Closed

Description

@tylertreat

[REQUIRED] Environment info

firebase-tools: 15.5.0

Platform: ubuntu-24.04

[REQUIRED] Test case

Run a Firestore indexes deploy with --project specified:

npx firebase-tools deploy --only firestore:indexes --project my-project-dev

[REQUIRED] Steps to reproduce

  • Create a firestore.indexes.json file
  • Run the above deploy command for your GCP project

[REQUIRED] Expected behavior

I validated this error does not occur with 15.4.0, as shown in the output below.

npx [email protected] deploy --only firestore:indexes --project my-project-dev

=== Deploying to 'my-project-dev'...

i  deploying firestore
i  firestore: ensuring required API firestore.googleapis.com is enabled...
✔  firestore: required API firestore.googleapis.com is enabled
i  firestore: ensuring required API firestore.googleapis.com is enabled...
i  firestore: reading indexes from firestore.indexes.json...
i  firestore: deploying indexes...
✔  firestore: deployed indexes in firestore.indexes.json successfully for (default) database

✔  Deploy complete!

Project Console: https://console.firebase.google.com/project/my-project-dev/overview

[REQUIRED] Actual behavior

npx firebase-tools deploy --only firestore:indexes --project my-project-dev

=== Deploying to 'my-project-dev'...

i  deploying firestore
i  firestore: ensuring required API firestore.googleapis.com is enabled...

Error: Request to https://serviceusage.googleapis.com/v1/projects/my-project-dev/services/firestore.googleapis.com had HTTP Error: 400, Project 'projects/projects/my-project-dev' not found or deleted.
Error: Process completed with exit code 1.

Note the redundant projects/projects/ in the project path.

Activity

  1. bkendall commented on Jan 30, 2026

    @bkendall
    Contributor

    Thanks for raising - I think I know what the issue is and have raised it interally.

  2. self-assigned this
    on Jan 30, 2026
  3. bkendall commented on Jan 30, 2026

    @bkendall
    Contributor

    Fixed by #9846 and it should go out soon :)

  4. joehan commented on Jan 30, 2026

    @joehan
    Member

    Fix for this is out in 15.5.1 - apologies for the inconvenience and thank you for reporting it!

  5. tylertreat commented on Jan 30, 2026

    @tylertreat
    Author

    Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions