Uploading files to google cloud storage <HttpError 403 "Insufficient Permission"> -


i following example python code uploading , downloading files google cloud storage. can download file cloud without problem, using same python file, when attempt upload file following error. thoughts on might causing permission error?

thanks! adam

storage-file-transfer-json-python-master adamkglaser$ python chunked_transfer.py language_id.txt gs://adam_glaser_cloud_storage/test.txt authenticating... constructing google cloud storage service... building upload request... uploading file: language_id.txt bucket: adam_glaser_cloud_storage object: test.txt  traceback (most recent call last):   file "chunked_transfer.py", line 217, in <module>     upload(sys.argv)   file "chunked_transfer.py", line 148, in upload     progress, response = request.next_chunk()   file "/users/adamkglaser/anaconda/lib/python2.7/site-packages/oauth2client/util.py", line 132, in positional_wrapper     return wrapped(*args, **kwargs)   file "/users/adamkglaser/anaconda/lib/python2.7/site-packages/apiclient/http.py", line 808, in next_chunk     raise resumableuploaderror(resp, content) apiclient.errors.resumableuploaderror: <httperror 403 "insufficient permission"> 


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -