32

I'm trying to deploy a Django application on Google App Engine. I followed the instructions given here. The only problem is that when I execute the command gcloud app deploy I than get the error:

ERROR: (gcloud.app.deploy) NOT_FOUND: Unable to retrieve P4SA: [service-290226755412@gcp-gae-service.iam.gserviceaccount.com] from GAIA. Could be GAIA propagation delay or request from deleted apps.

I didn't find anything online and can't get through. Thanks in advance!

new name
  • 15,861
  • 19
  • 68
  • 114
Benjamin Carafa
  • 625
  • 1
  • 7
  • 12
  • Is this a transient issue or a permanent one? Not sure if this is the right place to troubleshoot but could you try to deploy the [Python3 Quickstart](https://cloud.google.com/appengine/docs/standard/python3/quickstart) and see if you are able to do so? – llompalles Mar 08 '21 at 14:54
  • same issue when deploying a flask app – lode Mar 25 '21 at 18:53

5 Answers5

44

Same problem with Node, just waited and tryed again the command later and that's work for me (in the same shell, no steps between).

auschweizer
  • 443
  • 3
  • 4
22

I had the same problem but with flask. I follow this tutorial of google here and When I ran the comand gcloud app deploy I got the same error.

My solution was to Enable the Cloud Build API service in my project (in the Navigation Menu -> CI/CD). I did that and everything worked fine and I was able to complete the tutorial.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Mario G. S.
  • 231
  • 1
  • 8
  • 2
    After enabled APP Engine Admin API, worked for me. – Sudesh Lakmal Pathirana Jul 22 '21 at 07:11
  • This worked... I'm profoundly annoyed that GCP does not do this for you, or at least tell you why it's not working... I will wager to bet its why a majority of people here think the issue just suddenly "resolved" over time.. in reality they probably just mucked around in the Cloud Console aimlessly and eventually enabled the API. – gabriel.hayes Dec 16 '21 at 13:16
6

I had the same issue when deploying a Java application to an App Engine.

Enabling the 'Cloud Build API' under the APIs & Services section in the Google console resolved the issue for me.

ouflak
  • 2,458
  • 10
  • 44
  • 49
Prakash P
  • 61
  • 1
  • 1
0

I had the same error with different service ID, I deleted the specified service with that ID than it started working for me.

0

Got the same error, I just activated billing account on the current project on gcp and retry deploy. All works for me

Andresse Njeungoue
  • 608
  • 1
  • 5
  • 19