Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GAE data download shows datastore_errors.BadRequestError

I'm trying to download data from my Google App Engine app, using the official instructions

Remote API is set up & I call:

appcfg.py download_data --application=appname --url=http://app.address.com/_ah/remote_api --filename=alldata.csv

The connection is established, I'm being asked for my e-mail & password, and then a long trace appears ending up with this:

google.appengine.api.datastore_errors.BadRequestError: app s~appname cannot access app appname's data

Any ideas?

like image 726
kolinko Avatar asked Nov 03 '11 15:11

kolinko


1 Answers

If using the high-replication datastore, change the value passed to --application from appname to s~appname.

like image 176
Chris Lacy Avatar answered Nov 12 '22 01:11

Chris Lacy