lowcoupling
lowcoupling

Reputation: 2169

Bulkloader on Google App Engine: Incorrect credentials or unsupported authentication type (e.g. OpenId)

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

Answers (3)

user2312380
user2312380

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

hlidka
hlidka

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

GAEfan
GAEfan

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

Related Questions