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

gcloud app deploy dispatch.yaml - ERROR: (gcloud.app.deploy) Server responded with code [500]

I keep having this problem. I try to change / redeploy my dispatch.yaml and I get the error below. This is a major problem since I can't turn off a service I no longer need.

It's clearly a Google problem. There are brief periods when it will work, but then it stops again. Since there is no way to contact a human, what do I do?

Updating config [dispatch]...failed.
ERROR: (gcloud.app.deploy) Server responded with code [500]:
Internal Server Error.
b'<h3>Server Error</h3><p>A server error has occurred.</p>'

Solved Solved
0 2 665
1 ACCEPTED SOLUTION

Thanks for the SO link. 

None of my YAMLs contain "module", so no help there.

The thread also mentioned updating the gcloud SDK. I hadn't done that in a while so I  gave it a shot and it did fix the problem 🎉

So the moral of this story is: Keep your SDK up to date - Google isn't going to coddle you with a meaningful error message if you dont 🤔

View solution in original post

2 REPLIES 2

Hi @williamsdyyz ,

Welcome to the Google Cloud Community!

Check this Stack Overflow post, as you might have the same problem.

Basically, If your dispatch.yaml contains "module", It is now deprecated and is now called "service". What you have to do there is change every "module" instance into "service". You will also have to do it in your app.yaml file. 

See documentation here.

Hope this helps, thank!

Thanks for the SO link. 

None of my YAMLs contain "module", so no help there.

The thread also mentioned updating the gcloud SDK. I hadn't done that in a while so I  gave it a shot and it did fix the problem 🎉

So the moral of this story is: Keep your SDK up to date - Google isn't going to coddle you with a meaningful error message if you dont 🤔