1
votes

when i'm trying to deploy firebase function from my local machine i'm getting this error.

functions: failed to create function dialogflowFirebaseFulfillment HTTP Error: 400, Default service account '[email protected]' doesn't exist. Please recreate this account (for example by disabling and enabling the Cloud Functions API), or specify a different account.

and the project that i'm trying to deploy is, https://github.com/actions-on-google/codelabs-nodejs/tree/master/level1-complete

2

2 Answers

0
votes

I notice that your error has '[email protected]'.

Shouldn't the project-id be your {project-id} from the google action that you created, and not the word project-id.

0
votes

It seems your service account is removed. You may want to check whether your firebase & actions on google projects are removed or not.

If they are not, check for service accounts on console.cloud.google.com and make sure all your accounts are same as you are trying to deploy. (firebase, dialogflow, app-engine etc.) Also, disabling and enabling the Cloud Functions API may help as mentioned in error.