Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

gcloud app deploy returns code: 13

I have the following problem:

When I run gcloud app deploy

I get the following error:

EnderAyalp_0-1693143262950.png

My app.yaml looks like this:

runtime: java
env: flex
And  my pom.xml, I have the following plugin:

<build> <plugins> <plugin> <groupId>com.google.cloud.tools</groupId> <artifactId>appengine-maven-plugin</artifactId> <version>2.4.4</version> <configuration> <version>1</version> <projectId>speechless-backend</projectId> </configuration> </plugin> 

please help

0 1 238
1 REPLY 1

Hello @EnderAyalp,

Welcome to the Google Cloud Community!

Take a look at this Github Post as it brings resolution to the error 13 unexpected error. 

A workaround has been made for this issue by setting the use_deprecated_preparation to true by using the following command:

gcloud config set app/use_deprecated_preparation True

Once its set, retry the deployment.

Another option you can try is updating your gcloud cli to the latest version by using the following code:

gcloud components update

 If the above options don't work, you can contact Google Cloud Support to further look into your case. Let me know if it helped, thanks!