Skip to content

Cannot deploy firebase functions #1733

@emmanuel-alanmeds

Description

@emmanuel-alanmeds

Related issues

[REQUIRED] Version info

node: nodejs20 runtime in firebase.sjon

firebase-functions: 6.4.0

firebase-tools: 14.17.0

firebase-admin: 13.4.0

[REQUIRED] Test case

[REQUIRED] Steps to reproduce

I run this command locally

firebase --debug deploy --only functions:<NAME_OF_FUNCTION> --force

[REQUIRED] Expected behavior

That the functions deploys like is always has been up until about a week ago

[REQUIRED] Actual behavior

Were you able to successfully deploy your functions? No

"original": {
"name": "FirebaseError",
"children": [],
"context": {
"function": "projects//locations/us-central1/functions/"
},
"exit": 1,
"message": "Failed to create function projects//locations/us-central1/functions/",
"original": {
"name": "FirebaseError",
"children": [],
"context": {
"body": {
"error": {
"code": 400,
"message": "Could not create Cloud Run service***. spec.template.metadata.annotations[run.googleapis.com/minScale]: ",
"status": "INVALID_ARGUMENT"
}
},
"response": {
"statusCode": 400
}
},
"exit": 1,
"message": "Request to https://cloudfunctions.googleapis.com/v2/projects/***/locations/us-central1/functions?functionId=*** had HTTP Error: 400, Could not create Cloud Run service ***. spec.template.metadata.annotations[run.googleapis.com/minScale]: ",
"status": 400
},
"status": 400,
"code": 400
}
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions