Error 401 when trying to deploy an app from Google App Engine Launcher

I am having trouble launching my first app from the Google App Engine Launcher . I have already signed up for an account on the App Engine site. After I click the Deploy button, I get a Google Deployment application popup where I enter the information I gave when registering. Then I get this error:

Starting update of app: isabelleengineapp, version: 1
12:49 PM Getting current resource limits.
Password for swissian@gmail.com: Use an application-specific password instead of your regular account password.
See http://www.google.com/support/accounts/bin/answer.py?answer=185833
However, now the recommended way to log in is using OAuth2. See
https://developers.google.com/appengine/docs/python/tools/uploadinganapp#oauth
2013-01-29 12:49:22,607 ERROR appcfg.py:2203 An error occurred processing file '': HTTP Error 401: Unauthorized. Aborting. 
Error 401: --- begin server output ---
Must authenticate first.
--- end server output ---
2013-01-29 12:49:22 (Process exited with code 1)

      

Now I think it might be because I have 2-step verification set up for my google account , but I have no idea what to do other than trying to use a custom password for the app when I get the deployment popup. but it didn't work. Any ideas?!

+3


source to share


1 answer


You can try passing a parameter --oauth2

to appcfg.py

.

This is an alternative authentication method that avoids having to deal with passwords.



More details here: https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Password-less_login_with_OAuth2

+3


source







All Articles