Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

error 302 uploading csv #3

Open
nvasilescu opened this issue Dec 27, 2015 · 3 comments
Open

error 302 uploading csv #3

nvasilescu opened this issue Dec 27, 2015 · 3 comments

Comments

@nvasilescu
Copy link

seems this bug has been brought to your attention and confirmed for some time. The behaviour is the same.

http://stackoverflow.com/questions/33226944/fail-to-insert-data-into-local-google-app-engine-datastore

@nvasilescu nvasilescu changed the title tutorial for java but instructions for python ?! error 302 uploading csv Dec 27, 2015
@tsombrero
Copy link

The workaround, courtesy of SO:

gcloud auth login
gcloud auth print-access-token

This prints out the access token which you can use with appcfg

appcfg.py upload_data --oauth2_access_token=<oauth2_access_token> --config_file bulkloader.yaml --url=http://.appspot.com/remote_api --filename places.csv --kind=Place --email=[email protected]

@gyazbek
Copy link

gyazbek commented Jan 24, 2016

@nvasilescu are you referencing local or remote uploads?

@tsombrero I believe that workaround is only for remote upload, and I may be mistaken but nvasilescu is mentioning local upload using appcfg

@tsombrero
Copy link

@gyazbek That SO link is mostly about local uploads but the third answer has the solution for remote uploads, that's what I posted here since it was a little buried. Seems that wherever gcloud stashes the token, appcfg.py isn't able to read it. I'm on a mac, running the stock terminal in El Capitan

@lesv lesv self-assigned this Jan 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants