Do not have permission to access app while deploying google service account
After creating google service account with permission as shown below - deployment fails with message . I am failing to understand where this is going wrong. ==== $ gcloud iam service-accounts get-iam-policy cdemail#appid.iam.gserviceaccount.com bindings: - members: - serviceAccount:cdemail#appid.iam.gserviceaccount.com role: roles/owner etag: Bxxxxxxxxg= ==== $ gcloud auth activate-service-account --key-file ../a.json Activated service account credentials for: [cdemail#appid.iam.gserviceaccount.com] $ gcloud app deploy ERROR: (gcloud.app.deploy) You do not have permission to access app [appid].
Have got it working now. $ gcloud app deploy --log-http --verbosity=debug reason on why it fails is seen with action to enable app engine api (link will be shown in command output). Enable the api - then try deploying again (this time without --log-http as this is resulting in a gcloud crash). It should go through.
To add to npr's answer. Run this in the command if you have not authenticated yourself for your default app/project (after enabling the API): gcloud auth application-default login
Cron per Service/Module (AppEngine)
How do we parse and generate App Engine URL-Safe Datastore Keys in the Google Cloud API?
Google App Engine: How to create HTTPS endpoints with flexible environment?
Deployed Google Endpoints Quickstart app giving error message when i request url?
Google Cloud SDK vs Google Cloud Client Libraries
when does dispatch.xml get updated?
How do I stop this Google cloude Instances billing?
Google Appengine Deployment Security Woes
google cloud share vm access to other google account
Save result from Objectify in human readable form in datastore
Storing images and structured data together (Google Cloud Platform)
Use a subdomain instead of https://storage.googleapis.com
App Engine Flexible to Cloud Storage Network Unreachable
Google Cloud Search API - is there a limit to number of document puts per second?
Stackdriver Analysis report unavailable error
Dependencies not installing from lib directory in google app engine