firebase / firebase/firebase-functions

Cannot deploy firebase functions

Open
#1,733 22 comments 1 reaction 0 assignees View on GitHub
bug customer issue unable to reproduce
Dominant language
TypeScript
Stars
1.1k
Forks
232
Avg merge
20h 46m
Merged PRs (30d)
15

Description

### 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: --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
}
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.