I\'m trying to get my first (PHP) application working. It works OK in Google App Engine Launcher, but when I try to deploy it I get the following message:
2
This happenned to me because I forgot the version line in app.yaml: version: 1
THIS WILL HAPPEN IF YOU HAVE 2-FACTOR authentication activated. The solution in that case is to go to the application-specific passwords page and generate a new password. You can name it "Google app engine" or the like and you'll get a long alpha string to use as the password when deploying.
If you use Google App Engine Launcher and have 2-factor in use you are guaranteed to run into this error on deploy (current version 1.9.17), and it has been that way for at least 1.5 years. It seems like the app engine launcher folks could trap that error and generate a helpful message but instead maybe you'll find it on stackoverflow :)
Well, in floundering around I've found an answer.
I went here: https://www.google.com/settings/security/lesssecureapps
and selected "Enable" less secure devices and apps to access your data. When I tried to Deploy - it worked.