Error: HTTP Error: 403, The caller does not have permission - when create cloud function in flutter

Viewed 652

in my flutter project , i want to add firebase cloud function , so for that i installed node.js, install firebase services using npm and firebase logged in , after that when i trying to run "firebase init fuctions" ,selecting "Use an existing project" and selecting my firebase project, it gives me an error "Error: HTTP Error: 403, The caller does not have permission" so what i have to do ? please help !

1 Answers

In order to use firebase cloud functions in a project, you'll need to be the OWNER of the project, if you're not the "Owner" of the project , you'll need to have the following permissions :

  • Editor ( Firebase admin ISN'T ENOUGH )
  • Service Account User
  • Cloud Functions Admin.

Visit this link to know more about these permissions : https://firebase.google.com/docs/projects/iam/permissions#functions.

Related