Reputation: 2169
I am getting this error when trying to automatically generate the bulkloader configuration file of my Google App Engine Datastore
Authentication Failed: Incorrect credentials or unsupported authentication type (e.g. OpenId)
The appcfg.py command I am using is
create_bulkloader_config --filename=bulkloader_config.yaml --url=http://APPID.appengine.com/_ah/remote_api --application=APPID
on MacOS Mavericks, Python 2.7
Upvotes: 3
Views: 862
Reputation: 126
Tried all of the above to no avail. What worked for me was doing an update where I pass in the oauth2 flag. Then everything worked fine:
appcfg.py --oauth2 update app.yaml
Upvotes: 1
Reputation: 2355
I had the same problem with
appcfg.py download_data --url=http://APP_ID.appspot.com/_ah/remote_api --filename=FNAME
What helped was first running
appcfg.py update .
After running appcfg.py update
, download_data
prompted me:
Please enter login credentials for APP_ID.appspot.com
Email:
Upvotes: 2
Reputation: 11360
Here is what I use:
appcfg.py create_bulkloader_config --url=http://APPID.appengine.com/_ah/remote_api --filename=bulkloader.yaml --application=s~APPID
(Note the s~
prepending your appid.)
Upvotes: 1