firebase / firebase/firebase-tools
Specific error message on firebase function deploy failure due to missing/deactivated app engine service account
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
### [REQUIRED] Environment info
**firebase-tools:** 10.8.0
**Platform:** macOS
### [REQUIRED] Test case
As it's not related to function code but directly to Firebase CLI, no sample code possible.
### [REQUIRED] Steps to reproduce
1) Disable app engine service account @ [your-project-id@appspot.gserviceaccount.com](https://console.cloud.google.com/iam-admin/serviceaccounts?project=your-project-id)
2) Run a `firebase deploy --only functions`
3) Wait while it takes quite a while as it retries deployment several times
4) Receive the deployment failure error
5) The debug logs repeat the error message "The service has encountered an internal error. Please try again later"
### [REQUIRED] Expected behavior
6) The debug logs and CLI output should state "To successfully deploy a function, the app engine service account is required to be enabled. Please enable it here: https://console.cloud.google.com/iam-admin/serviceaccounts?project=your-project-id"
### [REQUIRED] Actual behavior
5) The debug logs repeat the error message "The service has encountered an internal error. Please try again later"
Contributor guide
Assessment
This issue has not been assessed yet.