Title: firebase functions deploy error
Last modified: February 21, 2021

---

# firebase functions deploy error

 *  Resolved [Hansanghyeon](https://wordpress.org/support/users/sanghyeon/)
 * (@sanghyeon)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/firebase-functions-deploy-error/)
 *     ```
       === Deploying to 'log-278509'...
   
       i  deploying functions
       ✔  functions: Finished running predeploy script.
       i  functions: ensuring required API cloudfunctions.googleapis.com is enabled...
       i  functions: ensuring required API cloudbuild.googleapis.com is enabled...
       ✔  functions: required API cloudfunctions.googleapis.com is enabled
       ✔  functions: required API cloudbuild.googleapis.com is enabled
       i  functions: preparing functions directory for uploading...
       i  functions: packaged functions (291.01 KB) for uploading
       ✔  functions: functions folder uploaded successfully
       i  functions: updating Node.js 12 function api-user(asia-northeast3)...
       i  functions: updating Node.js 12 function api-database(asia-northeast3)...
       i  functions: updating Node.js 12 function api-message(asia-northeast3)...
   
       Functions deploy had errors with the following functions:
       	api-user(asia-northeast3)
       	api-database(asia-northeast3)
       	api-message(asia-northeast3)
   
       To try redeploying those functions, run:
           firebase deploy --only "functions:api.user,functions:api.database,functions:api.message"
   
       To continue deploying other features (such as database), run:
           firebase deploy --except functions
   
       Error: Functions did not deploy properly.
       ❯ firebase deploy --only "functions:api.user,functions:api.database,functions:api.message"
   
       Error: Missing permissions required for functions deploy. You must have permission iam.serviceAccounts.ActAs on service account integrate-firebase-pro-qa@appspot.gserviceaccount.com.
   
       To address this error, ask a project Owner to assign your account the "Service Account User" role from this URL:
   
       https://console.cloud.google.com/iam-admin/iam?project=integrate-firebase-pro-qa
       ```
   
 * Why deploy the project integrate-firebase-pro-qa

Viewing 1 replies (of 1 total)

 *  Plugin Author [Dale Nguyen](https://wordpress.org/support/users/hanthuy/)
 * (@hanthuy)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/firebase-functions-deploy-error/#post-14081130)
 * Hi [@sanghyeon](https://wordpress.org/support/users/sanghyeon/), please have 
   a look at the guide.
 * [https://firebase-wordpress-docs.readthedocs.io/en/latest/intro/cloud-functions-deployment.html](https://firebase-wordpress-docs.readthedocs.io/en/latest/intro/cloud-functions-deployment.html)
 * For permission
 * `On Google Cloud Platform, go to your project and make sure Cloud Buid API and
   Cloud Functions are enabled. And the account that you use to deploy has Service
   Account User Role in order to deploy cloud functions to Firebase.`
 * For deployment
 *     ```
       cd functions
       yarn deploy --project project-id
       // OR
       firebase deploy --only functions --project project-id
       ```
   
 * If you want further support, please send your question and receipt to [dale@dalenguyen.me](https://wordpress.org/support/topic/firebase-functions-deploy-error/dale@dalenguyen.me?output_format=md)
 * Thanks,

Viewing 1 replies (of 1 total)

The topic ‘firebase functions deploy error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/integrate-firebase.svg)
 * [Integrate Firebase](https://wordpress.org/plugins/integrate-firebase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/integrate-firebase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/integrate-firebase/)
 * [Active Topics](https://wordpress.org/support/plugin/integrate-firebase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/integrate-firebase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/integrate-firebase/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dale Nguyen](https://wordpress.org/support/users/hanthuy/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/firebase-functions-deploy-error/#post-14081130)
 * Status: resolved