Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to deploy java project on Google App Engine

I've created one project on Google App Engine and I'm unable to deploy the project with project id: "my project id"

Here are details of problem occurred:

The App Id you selected, "my project id", does not exist. Go to http://cloud.google.com/console to view existing App Ids or create a new App Id.

Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id="my project id"&version=1& 404 Not Found This application does not exist (project_id=u'my project id'). To create an App Engine application in this project, run "gcloud beta app create" in your console.

Is anyone facing this issue?

The old projects are working fine and I'm able to deploy those projects. The issue is only with newly created projects.

like image 690
Poonam Malve Avatar asked Dec 16 '16 07:12

Poonam Malve


People also ask

Which is a command to deploy the application in the Google App Engine?

Deploying the app to App Engine Include the --project flag to specify an alternate Google Cloud console project ID to what you initialized as the default in the gcloud CLI. Example: --project [YOUR_PROJECT_ID] Include the -v flag to specify a version ID, otherwise one is generated for you. Example: -v [YOUR_VERSION_ID]


1 Answers

You have to do exactly as the error message tells you, which is to run the gcloud app create (beta no longer needed) command from a terminal.

App Engine is no longer automatically initialized for newly created projects, so you must run this command on a new project before deploying an App Engine app for the first time.

like image 75
Adam Avatar answered Oct 21 '22 15:10

Adam