0
votes

I download google official latest python app engine demo and deploy with flex env, but this problem arises

size: 3458
DONE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ERROR: (gcloud.app.deploy) FAILED_PRECONDITION: The App Engine service account does not exist for "my-project".

And I checked the IAM service-xxxxxxxxx@gae-api-prod.google.com.iam.gserviceaccount.com already exists. Someone can help me, please?


Solution: Someone delete default app engine account, just add it and it solved.

1
Experienced the same problem...but resolved restoring the default deleted service account. This article will guide medium.com/@ajanthan/… - 1gilbertkeen

1 Answers

0
votes

It's either a wrong initialization or a wrong update of the service account.

Go to the API Lenny in the console, search for appengine disable and enable again the API. It should fix the problem.

If not, try the same process but delete the appengine flex service account before service-<project number>@gae-api-prod.google.com.iam.gserviceaccount.com

If it still doesn't work, delete also the default service in appengine component.