google-cloud-platformgoogle-app-enginegcloud

Permissions error fetching application - Gcloud app deploy


I am trying to deploy to a gcloud app (following the steps here: https://realpython.com/python-web-applications/). My gmail account is the owner of the project (and just to be safe, I've added lots of other roles like app engine deployer, viewer etc even though I think owner should cover all of them). When I enter "gcloud app deploy" I am getting the following error:

ERROR: (gcloud.app.deploy) Permissions error fetching application [apps/hello-app-389902]. Please make sure that you have permission to view applications on the project and that XXXX@gmail.com has the App Engine Deployer (roles/appengine.deployer) role.

I've tried re-authenticating, adding more roles and I keep getting the same error. I've googled but none of the solutions posted there worked for me


Solution

  • Billing services were not enabled. Enabling billing services fixes this error