这是indexloc提供的服务,不要输入任何密码
Skip to content

v5.1.0 requires firebaseextensions.googleapis.com when Extensions are unused in a project #1596

@bkendall

Description

@bkendall

Related issues

[REQUIRED] Version info

node:

v20.16.0

firebase-functions: v5.1.0

firebase-tools: v13.15.2

firebase-admin: v12.1.1

[REQUIRED] Test case

[REQUIRED] Steps to reproduce

After updating firebase-functions from 5.0.1 to 5.1.0, deploying no longer works.

[REQUIRED] Expected behavior

Successful deploy.

[REQUIRED] Actual behavior

I now get an error that the Extensions API isn't enabled, even though it's unused by the project.

[2024-08-19T22:29:41.411Z] >>> [apiv2][query] GET https://firebaseextensions.googleapis.com/v1beta/projects/XXXXX/instances pageSize=100&pageToken=
[2024-08-19T22:29:41.624Z] <<< [apiv2][status] GET https://firebaseextensions.googleapis.com/v1beta/projects/XXXXX/instances 403
[2024-08-19T22:29:41.624Z] <<< [apiv2][body] GET https://firebaseextensions.googleapis.com/v1beta/projects/XXXXX/instances {"error":{"code":403,"message":"Firebase Extensions API has not been used in project XXXXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/firebaseextensions.googleapis.com/overview?project=XXXXX then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/firebaseextensions.googleapis.com/overview?project=XXXXX"}]},{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"service":"firebaseextensions.googleapis.com","consumer":"projects/XXXXX"}}]}}

Were you able to successfully deploy your functions?

No.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions